fastoad.models.performances.mission.exceptions module
Exceptions for mission package.
- exception fastoad.models.performances.mission.exceptions.FastFlightSegmentUnexpectedKeywordArgument(bad_keyword)[source]
Bases:
FastUnexpectedKeywordArgumentRaised when a segment is instantiated 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.
- exception fastoad.models.performances.mission.exceptions.FastFlightPointUnexpectedKeywordArgument(bad_keyword)[source]
Bases:
FastUnexpectedKeywordArgumentRaised when a FlightPoint is instantiated 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.
- exception fastoad.models.performances.mission.exceptions.FastFlightSegmentIncompleteFlightPoint[source]
Bases:
FastErrorRaised when a segment computation encounters a FlightPoint instance without needed parameters.
- 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.models.performances.mission.exceptions.FastUnknownMissionElementError(element_type: str)[source]
Bases:
FastErrorRaised when an undeclared element type is requested.
- 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.