x690.exc

This module contains exceptions for the x.690 protocol

exception x690.exc.IncompleteDecoding(message, remainder)

Bases: X690Error

Raised when decoding did not consume all bytes.

The junk bytes are stored in the “remainder” attribute

Parameters:
message

The description of the error.

remainder

The bytes that were left after the decoded value.

exception x690.exc.UnexpectedType

Bases: X690Error

Raised when decoding resulted in an unexpected type.

exception x690.exc.X690Error

Bases: Exception

Top-Level exception for everything related to the X690 protocol