ErrorBehavior attribute

Version: Available or changed with runtime version 8.0.

Specifies the behavior of collectable errors inside the method scope.

Applies to

  • Method

Syntax

[ErrorBehavior(Behavior: ErrorBehavior)]

Arguments

Behavior
 Type: ErrorBehavior
Specifies if a collectable error must be collected or throw an error.

Get Started with AL
Developing Extensions