Modifier

Partager via


System.GetCollectedErrors([Boolean]) Method

Version: Available or changed with runtime version 8.0.

Gets all collected errors in the current collection scope.

Syntax

Errors :=   System.GetCollectedErrors([Clear: Boolean])

Note

This method can be invoked without specifying the data type name.

Parameters

[Optional] Clear
 Type: Boolean
Specifies whether the errors will be cleared from the collection scope. true clears the errors. The default is false.

Return Value

Errors
 Type: List of [ErrorInfo]
The collected errors in the current collection scope.

Collecting Errors
System Data Type Get Started with AL Developing Extensions