landlab.core.errors¶
- exception Error[source]¶
Bases:
Exception
Base class for exceptions raised from this module.
- __init__(*args, **kwargs)¶
- __new__(**kwargs)¶
- add_note()¶
Exception.add_note(note) – add a note to the exception
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception MissingKeyError[source]¶
Bases:
Error
Error to indicate a missing parameter key.
Raise this error if the parameter dictionary file does not contain a requested key.
- __new__(**kwargs)¶
- add_note()¶
Exception.add_note(note) – add a note to the exception
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception ParameterValueError[source]¶
Bases:
Error
Error to indicate a bad parameter values.
Raise this error if a parameter value given by key is not of the expected type.
- __new__(**kwargs)¶
- add_note()¶
Exception.add_note(note) – add a note to the exception
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.