Skip to content

Add better error handling #1

@bartvstratum

Description

@bartvstratum

Most variables are initialized as None to make sure that variables used inside the model are either explicitly initialized in the model input, or calculated inside the model. When a calculation with None is performed, Python throws a TypeError -- catching that error and displaying a better error message of why this is happening would be better than showing the "raw" Python error/traceback.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions