cyclonedx.exception.output
==========================

.. py:module:: cyclonedx.exception.output

.. autoapi-nested-parse::

   Exceptions that are for specific error scenarios during the output of a Model to a SBOM.



Exceptions
----------

.. autoapisummary::

   cyclonedx.exception.output.BomGenerationErrorException
   cyclonedx.exception.output.FormatNotSupportedException


Module Contents
---------------

.. py:exception:: BomGenerationErrorException

   Bases: :py:obj:`cyclonedx.exception.CycloneDxException`


   Raised if there is an unknown error.


.. py:exception:: FormatNotSupportedException

   Bases: :py:obj:`cyclonedx.exception.CycloneDxException`


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


