Errors¶
Module with all the custom errors.
DistNotFoundError ¶
Raised when no PEKAT VISION was found in the default installation directory.
- On
Windows
, the search location isC:\Program Files
. - On
Linux
, the search location is/opt/PEKAT
.
Location is searched for the pekat_vision/pekat_vision(.exe)
binary.
DistNotExistsError ¶
DistNotExistsError(path: Path, *args: tuple)
Raised when PEKAT VISION does not exist in the specified path.
PortIsAllocatedError ¶
PortIsAllocatedError(port: int, *args: tuple)
Raised when the specified port is already used by another process.
InvalidDataTypeError ¶
InvalidDataTypeError(type_: type, *args: tuple)
Raised when the input data is not a file path, bytes or a numpy array.
InvalidResponseTypeError ¶
InvalidResponseTypeError(response_type: str, *args: tuple)
Raised when the response type is invalid.
ProjectNotFoundError ¶
ProjectNotFoundError(path: Path, *args: tuple)
Raised when the project was not found in the specified location.