https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/attributes/devenv-errorbehavior-attribute
ErrorBehavior attribute - Business Central | Microsoft Learn
Specifies the behavior of collectable errors inside the method scope.
business centralattributemicrosoftlearn