ImgErr_SetInfoΒΆ
Set the Q2Pix error info for the current process.
ImgErr_SetInfo(errInfo)
errInfo | Object | The Q2Pix error info for the current process. |
Set the Q2Pix error info for the current process.
The error info is specified in errInfo
, a 4D object that contains the following properties:
Property name | Type | Description |
---|---|---|
Domain |
String |
The domain of the error. For errors triggered by Q2Pix the domain will be "Q2Pix" .
Other possible values include (but are not limited to) "POSIX" , "Cocoa" (on macOS),
"WIC" , "D2D" , "Win32" (on Windows), and "Pdfium" . |
Code |
Longint |
The error code, interpreted in the specific domain. |
Description |
String |
The description of the error (optional). |
Reason |
String |
The reason why the error happened (optional). |
Method |
String |
The method where the error occurred (optional). |
This method is primarily for use by components or code modules built around Q2Pix in order to communicate error information to their callers using the same mechanism.
Note
This method is a wrapper for the ImgErr_SetInfo_JSN
plug-in method.