8 Base class for all exceptions thrown by the library.
10 @since ids_peak_icv 1.0
13 def __init__(self, message: str, status: peak_icv_status):
21 Occurs when a required dependency is missing, the library is not initialized, or a misconfiguration arises.
23 @since ids_peak_icv 1.0
26 def __init__(self, message: str, status: peak_icv_status):
32 ids_peak_common.exceptions.InternalErrorException
36 Occurs when a failure happens during processing due to an unhandled internal routine condition.
38 @since ids_peak_icv 1.0
42 super().
__init__(message, peak_icv_status.PEAK_ICV_STATUS_INTERNAL_ERROR)
48 Occurs when input parameters do not match expected conditions (e.g., two input images have different sizes).
50 @since ids_peak_icv 1.0
54 super().
__init__(message, peak_icv_status.PEAK_ICV_STATUS_MISMATCH)
59 ids_peak_common.exceptions.NotSupportedException
63 Occurs when a requested operation is not implemented or supported (e.g., exporting to an unsupported file format).
65 @since ids_peak_icv 1.0
69 super().
__init__(message, peak_icv_status.PEAK_ICV_STATUS_NOT_SUPPORTED)
75 Occurs when an operation cannot be performed due to logical constraints (e.g., camera calibration without input images).
77 @since ids_peak_icv 1.0
81 super().
__init__(message, peak_icv_status.PEAK_ICV_STATUS_NOT_POSSIBLE)
86 ids_peak_common.exceptions.OutOfRangeException
90 Occurs when a provided value falls outside the allowed valid range.
92 @since ids_peak_icv 1.0
96 super().
__init__(message, peak_icv_status.PEAK_ICV_STATUS_OUT_OF_RANGE)
102 Occurs when a mathematical computation fails (e.g., division by zero or invalid matrix operations).
104 @since ids_peak_icv 1.0
108 super().
__init__(message, peak_icv_status.PEAK_ICV_STATUS_MATH_ERROR)
114 Occurs when an expected target object (e.g., calibration plate or marker) is not detected in the input image.
116 @since ids_peak_icv 1.0
120 super().
__init__(message, peak_icv_status.PEAK_ICV_STATUS_TARGET_NOT_FOUND)
126 Occurs when reading from a file or stream that is incomplete, damaged, or in an unexpected format.
128 @since ids_peak_icv 1.0
132 super().
__init__(message, peak_icv_status.PEAK_ICV_STATUS_CORRUPTED)
137 ids_peak_common.exceptions.IOException
141 Occurs when a file operation fails (e.g., missing file, insufficient permissions, or inaccessible directory).
143 @since ids_peak_icv 1.0
147 super().
__init__(message, peak_icv_status.PEAK_ICV_STATUS_IO_ERROR)
153 Occurs when attempting to access an object or value via an uninitialized or null pointer.
155 @since ids_peak_icv 1.0
159 super().
__init__(message, peak_icv_status.PEAK_ICV_STATUS_NULL_POINTER)
Occurs when reading from a file or stream that is incomplete, damaged, or in an unexpected format.
__init__(self, str message)
Base class for all exceptions thrown by the library.
__init__(self, str message, peak_icv_status status)
Occurs when a file operation fails (e.g., missing file, insufficient permissions, or inaccessible dir...
__init__(self, str message)
Occurs when a failure happens during processing due to an unhandled internal routine condition.
__init__(self, str message)
Occurs when a required dependency is missing, the library is not initialized, or a misconfiguration a...
__init__(self, str message, peak_icv_status status)
Occurs when a mathematical computation fails (e.g., division by zero or invalid matrix operations).
__init__(self, str message)
Occurs when input parameters do not match expected conditions (e.g., two input images have different ...
__init__(self, str message)
Occurs when an operation cannot be performed due to logical constraints (e.g., camera calibration wit...
__init__(self, str message)
Occurs when a requested operation is not implemented or supported (e.g., exporting to an unsupported ...
__init__(self, str message)
Occurs when attempting to access an object or value via an uninitialized or null pointer.
__init__(self, str message)
Occurs when a provided value falls outside the allowed valid range.
__init__(self, str message)
Occurs when an expected target object (e.g., calibration plate or marker) is not detected in the inpu...
__init__(self, str message)