textoutpc.errors
– Error definitions#
- exception textoutpc.errors.TagValidationError(message: str = '', *args, **kwargs)#
Bases:
Error
,ValueError
A tag validation has failed for an unknown error.
- message#
- args#
- kwargs#
- exception textoutpc.errors.MissingValue(message: str = '', *args, **kwargs)#
Bases:
TagValidationError
A value should have been provided, and wasn’t.
- args#
- kwargs#
- message#
- exception textoutpc.errors.UnexpectedValue(message: str = '', *args, **kwargs)#
Bases:
TagValidationError
No value should have been provided, but one was.
- args#
- kwargs#
- message#
- exception textoutpc.errors.InvalidValue(message: str = '', *args, **kwargs)#
Bases:
TagValidationError
An invalid value was provided.
- args#
- kwargs#
- message#
- exception textoutpc.errors.AlreadyRegistered(*, names: set[str])#
Bases:
Error
,ValueError
The tag name was already registered.
- exception textoutpc.errors.ChildNotFound(message: str | None = None, /)#
Bases:
Error
,ValueError
The child was already found.
- exception textoutpc.errors.TooManyChildren(message: str | None = None, /)#
Bases:
Error
,ValueError
Too many children were found for the given filters.