Skip to content

octoprint.slicing.exceptions#

Slicing related exceptions.

.. autoclass:: SlicingException

.. autoclass:: SlicingCancelled :show-inheritance:

.. autoclass:: SlicerException :show-inheritance:

.. autoclass:: UnknownSlicer :show-inheritance:

.. autoclass:: SlicerNotConfigured :show-inheritance:

.. autoclass:: ProfileException

.. autoclass:: UnknownProfile :show-inheritance:

.. autoclass:: ProfileAlreadyExists :show-inheritance:

CouldNotDeleteProfile(slicer, profile, cause = None, *args, **kwargs) #

Bases: ProfileException

Raised if there is an unexpected error trying to delete a known profile.

ProfileAlreadyExists(slicer, profile, *args, **kwargs) #

Bases: ProfileException

Raised if a slicing profile already exists and must not be overwritten.

ProfileException(slicer, profile, *args, **kwargs) #

Bases: Exception

Base exception of all slicing profile related exceptions.

.. attribute:: slicer

Identifier of the slicer to which the profile belongs.

.. attribute:: profile

Identifier of the profile for which the exception was raised.

SlicerException(slicer, *args, **kwargs) #

Bases: SlicingException

Base exception of all slicer related exceptions.

.. attribute:: slicer

Identifier of the slicer for which the exception was raised.

SlicerNotConfigured(slicer, *args, **kwargs) #

Bases: SlicerException

Raised if a slicer is not yet configured but must be configured to proceed.

SlicingCancelled #

Bases: SlicingException

Raised if a slicing job was cancelled.

SlicingException #

Bases: Exception

Base exception of all slicing related exceptions.

UnknownProfile(slicer, profile, *args, **kwargs) #

Bases: ProfileException

Raised if a slicing profile does not exist but must exist to proceed.

UnknownSlicer(slicer, *args, **kwargs) #

Bases: SlicerException

Raised if a slicer is unknown.