class DestructifyError(Exception):
    pass


class DefinitionError(DestructifyError):
    pass


class ImpossibleToCalculateLengthError(DefinitionError):
    pass


class ParseError(DestructifyError):
    pass


class StreamExhaustedError(ParseError):
    pass


class UnknownDependentFieldError(ParseError):
    pass


class MisalignedFieldError(ParseError):
    pass


class WrongMagicError(ParseError):
    pass


class WriteError(DestructifyError):
    pass


class CheckError(DestructifyError):
    pass

class DestructifyError(Exception):
    pass


class DefinitionError(DestructifyError):
    pass


class ImpossibleToCalculateLengthError(DefinitionError):
    pass


class ParseError(DestructifyError):
    pass


class StreamExhaustedError(ParseError):
    pass


class UnknownDependentFieldError(ParseError):
    pass


class MisalignedFieldError(ParseError):
    pass


class WrongMagicError(ParseError):
    pass


class WriteError(DestructifyError):
    pass


class CheckError(DestructifyError):
    pass
