cyclonedx.exception

Exceptions that are specific to the CycloneDX library implementation.

Submodules

Package Contents

exception cyclonedx.exception.CycloneDxException

Bases: Exception

Root exception thrown by this library.

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.MissingOptionalDependencyException

Bases: CycloneDxException

Validation did not happen, due to missing dependencies.

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.