gscrib.excepts
G-code generation specific error handling.
This module defines a collection of exceptions to handle errors related to G-code processing and generation.
- exception gscrib.excepts.CoolantStateError
Bases:
GCodeErrorException raised for inconsistent coolant state errors.
- 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.
- args
- exception gscrib.excepts.DeviceConnectionError
Bases:
DeviceErrorRaised when a device connection fails.
- 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.
- args
- exception gscrib.excepts.DeviceError
Bases:
GscribErrorBase exception for device-related errors.
- 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.
- args
- exception gscrib.excepts.DeviceTimeoutError
Bases:
DeviceErrorRaised when a device operation times out.
- 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.
- args
- exception gscrib.excepts.DeviceWriteError
Bases:
DeviceErrorRaised when a sending data to a device fails.
- 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.
- args
- exception gscrib.excepts.FileLoadError
Bases:
GscribErrorException raised when a file cannot be loaded.
- 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.
- args
- exception gscrib.excepts.GCodeError
Bases:
GscribErrorBase exception for G-code related errors.
- 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.
- args
- exception gscrib.excepts.GscribError
Bases:
ExceptionBase exception for all Gscrib errors.
- 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.
- args
- exception gscrib.excepts.ImageLoadError
Bases:
GscribErrorException raised when an image file cannot be loaded.
- 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.
- args
- exception gscrib.excepts.ToolStateError
Bases:
GCodeErrorException raised for inconsistent tool state errors.
- 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.
- args