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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈