# ErrorInfo.Verbosity([Verbosity]) Method
> Version: _Available or changed with runtime version 3.0._
Specifies the severity level of the error. This can determine whether the error should be sent to telemetry (which is based on the trace level setting of the server).
## Syntax
```al
[Verbosity := ]  ErrorInfo.Verbosity([Verbosity: Verbosity])
```
> NOTE
> This method can be invoked using property access syntax.
## Parameters
ErrorInfo
Type: errorinfo-data-type
An instance of the errorinfo-data-type data type.
*[Optional] Verbosity*
Type: ../verbosity/verbosity-option
The verbosity that the error should be sent with.
## Return Value
*[Optional] Verbosity*
Type: ../verbosity/verbosity-option
The current verbosity of the ErrorInfo.
## Example (get the Verbosity property)
```al
procedure myErrorHandlerProc( MyErrorInfo: ErrorInfo )
var
    ErrorVerbosity: Verbosity;
begin
    ErrorVerbosity := MyErrorInfo.Verbosity();

    // do something
end
```
## Example (set the Verbosity property)
```al
var
    MyErrorInfo: ErrorInfo
begin
    // setup the error info object: Define Message, DetailedMessage etc.

    // set MyErrorInfo to be a critical error
    MyErrorInfo.Verbosity( Verbosity::Critical );

    Error(MyErrorInfo);
end
```
## Related information
errorinfo-data-type
../../devenv-al-error-handling
Get Started with AL<../../devenv-get-started>
Developing Extensions<../../devenv-dev-overview>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/errorinfo/errorinfo-verbosity-method, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/errorinfo/errorinfo-verbosity-method/
