Core API: Exception types

construct.ConstructError(message='', path=None)

Common base class for all non-exit exceptions.

construct.SizeofError(message='', path=None)

Common base class for all non-exit exceptions.

construct.AdaptationError(message='', path=None)

Common base class for all non-exit exceptions.

construct.ValidationError(message='', path=None)

Common base class for all non-exit exceptions.

construct.StreamError(message='', path=None)

Common base class for all non-exit exceptions.

construct.FormatFieldError(message='', path=None)

Common base class for all non-exit exceptions.

construct.IntegerError(message='', path=None)

Common base class for all non-exit exceptions.

construct.StringError(message='', path=None)

Common base class for all non-exit exceptions.

construct.MappingError(message='', path=None)

Common base class for all non-exit exceptions.

construct.RangeError(message='', path=None)

Common base class for all non-exit exceptions.

construct.RepeatError(message='', path=None)

Common base class for all non-exit exceptions.

construct.ConstError(message='', path=None)

Common base class for all non-exit exceptions.

construct.IndexFieldError(message='', path=None)

Common base class for all non-exit exceptions.

construct.CheckError(message='', path=None)

Common base class for all non-exit exceptions.

construct.ExplicitError(message='', path=None)

Common base class for all non-exit exceptions.

construct.NamedTupleError(message='', path=None)

Common base class for all non-exit exceptions.

construct.TimestampError(message='', path=None)

Common base class for all non-exit exceptions.

construct.UnionError(message='', path=None)

Common base class for all non-exit exceptions.

construct.SelectError(message='', path=None)

Common base class for all non-exit exceptions.

construct.SwitchError(message='', path=None)

Common base class for all non-exit exceptions.

construct.StopFieldError(message='', path=None)

Common base class for all non-exit exceptions.

construct.PaddingError(message='', path=None)

Common base class for all non-exit exceptions.

construct.TerminatedError(message='', path=None)

Common base class for all non-exit exceptions.

construct.RawCopyError(message='', path=None)

Common base class for all non-exit exceptions.

construct.ChecksumError(message='', path=None)

Common base class for all non-exit exceptions.

construct.CancelParsing(message='', path=None)

Common base class for all non-exit exceptions.