SdkException Constructor
Definition
Namespace: P1.CameraSdk
Create an SDK error from an ErrorCode, with an automatically loaded description
public SdkException (ErrorCode errorCode)
If the SDK has an internal error description, this is copied to the ErrorMessage property.
Since the Exception.Message is read only, it cannot be used to contains the error description.
Parameters:
errorCode |
The cause of the exception |
Returns:
An exception that can be thrown