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.


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


This method can be invoked using property access syntax.


 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
Get Started with AL
Developing Extensions