ErrorInfo Data Type
Version: Available or changed with runtime version 3.0.
Provides a structure for grouping information about an error.
This data type is supported only in Business Central on-premises.
The following methods are available on instances of the ErrorInfo data type.
|DataClassification([DataClassification])||Specifies the severity level of the error. Values include 'Critical', 'Error', 'Warning', 'Normal', and 'Verbose'|
|ErrorType([ErrorType])||Specifies type of the error. 'Client' shows the specified message in the client and sends it to telemetry. 'Internal' shows a generic message in the client and sends the specified message to telemetry.|
|Message([String])||Specifies the message that will be sent to telemetry. For a 'Client' error type, the message will also be appear in the client.|
|Verbosity([Verbosity])||Specifies the severity level of the error. This can determine whether the error should be sent to telemetry (which is based on the trace level setting of the server).|