Get in touch with us today and our team of imaging professionals will be pleased to assist you.
This topic describes the ErrorCode enum and the ESdkProException class used to report errors in eSDK Pro.
ErrorCode EnumNamespace: eSdkPro Header: eSdkPro/errors.h
Represents the result of an SDK operation.
Success — The operation completed successfully.General — A non-specific error occurred.NotFound — A required resource was not found.Invalid — The operation failed due to invalid input or state.
ESdkProException ClassNamespace: eSdkPro Header: eSdkPro/errors.h
Exception thrown from eSDK Pro.
ESdkProException()eSdkPro::ESdkProException::ESdkProException(ErrorCode code, const std::string& msg)
Parameters:
code — An error code representing the exception.msg — A concise, readable string for debugging and logging.
what()const char* eSdkPro::ESdkProException::what() const noexcept override
Retrieves a concise, readable string for debugging and logging.
Returns: Pointer to a null-terminated string with explanatory information about the exception.
GetErrorCode()ErrorCode eSdkPro::ESdkProException::GetErrorCode() const
Returns: The error code related to the exception.
Get in touch with us today and our team of imaging professionals will be pleased to assist you.