space_packet_parser.exceptions

Space Packet Parser Exceptions

Exceptions

ElementNotFoundError

Exception for missing XML element

ComparisonError

Exception for problems performing comparisons

FormatStringError

Error indicating a problem determining how to parse a variable length string.

DynamicLengthBinaryParameterError

Exception to raise when we try to parse a dynamic length binary field as fixed length

CalibrationError

For errors encountered during value calibration

InvalidParameterTypeError

Error raised when someone is using an invalid ParameterType element

UnrecognizedPacketTypeError

Error raised when we can't figure out which kind of packet we are dealing with based on the header

Module Contents

exception space_packet_parser.exceptions.ElementNotFoundError

Bases: Exception

Exception for missing XML element

exception space_packet_parser.exceptions.ComparisonError

Bases: Exception

Exception for problems performing comparisons

exception space_packet_parser.exceptions.FormatStringError

Bases: Exception

Error indicating a problem determining how to parse a variable length string.

exception space_packet_parser.exceptions.DynamicLengthBinaryParameterError

Bases: Exception

Exception to raise when we try to parse a dynamic length binary field as fixed length

exception space_packet_parser.exceptions.CalibrationError

Bases: Exception

For errors encountered during value calibration

exception space_packet_parser.exceptions.InvalidParameterTypeError

Bases: Exception

Error raised when someone is using an invalid ParameterType element

exception space_packet_parser.exceptions.UnrecognizedPacketTypeError(*args, partial_data: dict = None)

Bases: Exception

Error raised when we can’t figure out which kind of packet we are dealing with based on the header

partial_data = None