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.
See Also
Collecting Errors
System Data Type
Get Started with AL
Developing Extensions
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for