credmark.cmf.model.errors.ModelRunError
- exception ModelRunError(message, **data)[source]
An error that occurs during the running of a model. If a model raises any unknown exception, it is automatically converted to a
ModelRunError
.This error is usually related to a model coding error or not properly handling exceptions from web3, math libraries etc.
A
ModelRunError
will terminate the model run of a parent model. In most circumstances it is NOT recommended to catch these errors.These errors are considered transient because it is expected they could give a different result if run again, for example if the code was fixed or a web3 connection issue was resolved etc.
- Parameters
message (str) –