cyclonedx.exception.output
Exceptions that are for specific error scenarios during the output of a Model to a SBOM.
Module Contents
- exception cyclonedx.exception.output.BomGenerationErrorException
Bases:
cyclonedx.exception.CycloneDxExceptionRaised if there is an unknown error.
- class args
- add_note()
Exception.add_note(note) – add a note to the exception
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception cyclonedx.exception.output.FormatNotSupportedException
Bases:
cyclonedx.exception.CycloneDxExceptionException raised when attempting to output a BOM to a format not supported in the requested version.
For example, JSON is not supported prior to 1.2.
- class args
- add_note()
Exception.add_note(note) – add a note to the exception
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.