reuse.exceptions module¶
All exceptions owned by reuse. These exceptions all inherit
ReuseError.
- exception reuse.exceptions.SpdxIdentifierNotFoundError[source]¶
Bases:
ReuseErrorCould not find SPDX identifier for license file.
- exception reuse.exceptions.GlobalLicensingParseError(*args: Any, source: str | None = None)[source]¶
Bases:
ReuseErrorAn exception representing any kind of error that occurs when trying to parse a
reuse.global_licensing.GlobalLicensingfile.
- exception reuse.exceptions.GlobalLicensingParseTypeError(*args: Any, source: str | None = None)[source]¶
Bases:
GlobalLicensingParseError,TypeErrorAn exception representing a type error while trying to parse a
reuse.global_licensing.GlobalLicensingfile.
- exception reuse.exceptions.GlobalLicensingParseValueError(*args: Any, source: str | None = None)[source]¶
Bases:
GlobalLicensingParseError,ValueErrorAn exception representing a value error while trying to parse a
reuse.global_licensing.GlobalLicensingfile.
- exception reuse.exceptions.GlobalLicensingConflictError[source]¶
Bases:
ReuseErrorThere are two global licensing files in the project that are not compatible.
- exception reuse.exceptions.MissingReuseInfoError[source]¶
Bases:
ReuseErrorSome REUSE information is missing from the result.
- exception reuse.exceptions.CommentError[source]¶
Bases:
ReuseErrorAn error occurred during an interaction with a comment.