fastoad.exceptions module
Module for custom Exception classes
- exception fastoad.exceptions.FastError[source]
Bases:
ExceptionBase Class for exceptions related to the FAST framework.
- 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 fastoad.exceptions.NoSetupError[source]
Bases:
FastErrorNo Setup Error.
This exception indicates that a setup of the OpenMDAO instance has not been done, but was expected to be.
- 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 fastoad.exceptions.XMLReadError[source]
Bases:
FastErrorXML file read Error.
This exception indicates that an error occurred when reading an xml file.
- 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 fastoad.exceptions.FastUnknownEngineSettingError[source]
Bases:
FastErrorRaised when an unknown engine setting code has been encountered
- 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 fastoad.exceptions.FastUnexpectedKeywordArgument(bad_keyword)[source]
Bases:
FastErrorRaised when an instantiation is done with an incorrect keyword argument.
- 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.