8 Base class for all exceptions thrown by the IDS peak ICV library.
10 @param message: Exception message.
11 @param status: peak_icv_status associated with the exception.
13 @since ids_peak_icv 1.0
16 def __init__(self, message: str, status: peak_icv_status):
24 Thrown when the library configuration is invalid.
26 This can occur if a required dependency is missing, the library is not initialized,
27 or other misconfiguration issues arise.
29 @since ids_peak_icv 1.0
32 def __init__(self, message: str, status: peak_icv_status):
42 Thrown on unexpected internal system errors.
44 Occurs when a failure happens during processing due to an unhandled condition
47 @since ids_peak_icv 1.0
51 super().
__init__(message, peak_icv_status.PEAK_ICV_STATUS_INTERNAL_ERROR)
57 Thrown when input parameters do not match the expected conditions.
59 For example, this occurs when two input images have different sizes but identical sizes are required.
61 @since ids_peak_icv 1.0
65 super().
__init__(message, peak_icv_status.PEAK_ICV_STATUS_MISMATCH)
74 Thrown when a requested operation is not implemented or supported.
76 This occurs, for example, when trying to export to an unsupported file format.
78 @since ids_peak_icv 1.0
82 super().
__init__(message, peak_icv_status.PEAK_ICV_STATUS_NOT_SUPPORTED)
88 Thrown when an operation cannot be performed due to logical constraints.
90 For example, this occurs when attempting camera calibration without any input images.
92 @since ids_peak_icv 1.0
96 super().
__init__(message, peak_icv_status.PEAK_ICV_STATUS_NOT_POSSIBLE)
105 Thrown when a value is outside the allowed range.
107 This occurs, for example, when setting opacity to 101 although the valid range is 0–100.
109 @since ids_peak_icv 1.0
113 super().
__init__(message, peak_icv_status.PEAK_ICV_STATUS_OUT_OF_RANGE)
119 Thrown when a mathematical computation fails.
121 This occurs, for example, in cases such as division by zero or invalid operations in matrix computations.
123 @since ids_peak_icv 1.0
127 super().
__init__(message, peak_icv_status.PEAK_ICV_STATUS_MATH_ERROR)
133 Thrown when an expected target object is not detected in the input image.
135 This occurs, for example, when a calibration plate or marker is missing or not detected in an input image.
137 @since ids_peak_icv 1.0
141 super().
__init__(message, peak_icv_status.PEAK_ICV_STATUS_TARGET_NOT_FOUND)
147 Thrown when input data or a file is malformed, unreadable, or otherwise corrupted.
149 This occurs when reading from a file or stream that is incomplete, damaged, or in an unexpected format.
151 @since ids_peak_icv 1.0
155 super().
__init__(message, peak_icv_status.PEAK_ICV_STATUS_CORRUPTED)
164 Thrown when a file input/output operation fails.
166 This can occur due to reasons such as a missing file, insufficient permissions, or an inaccessible directory.
168 @since ids_peak_icv 1.0
172 super().
__init__(message, peak_icv_status.PEAK_ICV_STATUS_IO_ERROR)
178 Thrown when attempting to access an object or value that has not been initialized.
180 Indicates usage of a null pointer.
182 @since ids_peak_icv 1.0
186 super().
__init__(message, peak_icv_status.PEAK_ICV_STATUS_NULL_POINTER)
Base class for all exceptions thrown by the library.
Thrown when an input, output, file or device communication error occurs.
Thrown when an unexpected internal error occurs.
Thrown when an unsupported operation or feature is used.
Thrown when a parameter is outside the valid range.
Thrown when input data or a file is malformed, unreadable, or otherwise corrupted.
__init__(self, str message)
Base class for all exceptions thrown by the IDS peak ICV library.
__init__(self, str message, peak_icv_status status)
Thrown when a file input/output operation fails.
__init__(self, str message)
Thrown on unexpected internal system errors.
__init__(self, str message)
Thrown when the library configuration is invalid.
__init__(self, str message, peak_icv_status status)
Thrown when a mathematical computation fails.
__init__(self, str message)
Thrown when input parameters do not match the expected conditions.
__init__(self, str message)
Thrown when an operation cannot be performed due to logical constraints.
__init__(self, str message)
Thrown when a requested operation is not implemented or supported.
__init__(self, str message)
Thrown when attempting to access an object or value that has not been initialized.
__init__(self, str message)
Thrown when a value is outside the allowed range.
__init__(self, str message)
Thrown when an expected target object is not detected in the input image.
__init__(self, str message)