ErrorInfo.ErrorType([ErrorType]) Method

Version: Available or changed with runtime version 3.0.

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.

Syntax

[ErrorType := ]  ErrorInfo.ErrorType([ErrorType: ErrorType])

Note

This method can be invoked using property access syntax.

Parameters

ErrorInfo
 Type: ErrorInfo
An instance of the ErrorInfo data type.

[Optional] ErrorType
 Type: ErrorType
The error type of the error.

Return Value

[Optional] ErrorType
 Type: ErrorType
The current error type of the ErrorInfo.

See Also

ErrorInfo Data Type
AL error handling
Get Started with AL
Developing Extensions