Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Version: Available or changed with runtime version 8.0.
Creates a new ErrorInfo object.
Syntax
Error := ErrorInfo.Create(Message: String [, Collectible: Boolean] [, var Record: Record] [, FieldNo: Integer] [, PageNo: Integer] [, ControlName: String] [, Verbosity: Verbosity] [, DataClassification: DataClassification] [, CustomDimensions: Dictionary of [Text, Text]])
Parameters
Message
Type: String
The error message.
[Optional] Collectible
Type: Boolean
Specifies whether the error can be collected using ErrorBehavior.Collect. This parameter is optional.
[Optional] Record
Type: Record
A record that the error relates to. This parameter is optional.
[Optional] FieldNo
Type: Integer
A field number that the error relates to. This parameter is optional.
[Optional] PageNo
Type: Integer
A page that the error relates to. This parameter is optional.
[Optional] ControlName
Type: String
A control name that the error relates to. This parameter is optional.
[Optional] Verbosity
Type: Verbosity
The verbosity of the error. This parameter is optional.
[Optional] DataClassification
Type: DataClassification
Classification of data in the message. This parameter is optional.
[Optional] CustomDimensions
Type: Dictionary of [Text, Text]
Set of additional dimensions, specified as a dictionary. This parameter is optional.
Return Value
Error
Type: ErrorInfo
Related information
Collecting Errors
ErrorInfo Data Type
Get Started with AL
Developing Extensions