protokolo.exceptions module¶
Exception classes.
- exception protokolo.exceptions.ProtokoloError[source]¶
Bases:
ExceptionCommon exception class for all custom errors raised by the
protokolomodule.
- exception protokolo.exceptions.DictTypeError(*args: Any)[source]¶
Bases:
TypeError,ProtokoloErrorExpected a value of a different type for a given key.
- exception protokolo.exceptions.DictTypeListError(*args: Any)[source]¶
Bases:
DictTypeErrorLike
DictTypeError, but the item is in a list (inside of a dictionary) instead of in a dictionary.
- exception protokolo.exceptions.ProtokoloTOMLError[source]¶
Bases:
ProtokoloErrorAn exception that pertains to
.protokolo.toml.
- exception protokolo.exceptions.AttributeNotPositiveError[source]¶
Bases:
ValueError,ProtokoloTOMLErrorA value in
config.SectionAttributesis expected to be a positive integer.
- exception protokolo.exceptions.ProtokoloTOMLNotFoundError[source]¶
Bases:
FileNotFoundError,ProtokoloTOMLErrorCouldn’t find a
.protokolo.tomlfile.
- exception protokolo.exceptions.ProtokoloTOMLIsADirectoryError[source]¶
Bases:
IsADirectoryError,ProtokoloTOMLError.protokolo.tomlis not a file.
- exception protokolo.exceptions.HeadingFormatError[source]¶
Bases:
ValueError,ProtokoloErrorCould not create heading.