ErrorInfo

Properties:

Cause
Description
LineNumber
ModuleName
SourceLine

Description:

Used to display structured information about error (exception).

Availability:

Thin client, web-client, server, thick client, external connection, Mobile application (client), Mobile application (server).

Example:

Try
    ...
Except
    Info = ErrorInfo();
    Message("Description='" + Info.Description + "'");
    Message("ModuleName='" + Info.ModuleName + "'");
    Message("LineNumber=" + Info.LineNumber);
    Message("SourceLine='" + Info.SourceLine + "'");
EndTry;

See also:

Global context, method ErrorInfo
Global context, method ShowErrorInfo
ErrorInfo, property Cause
Global context, method BriefErrorDescription
BackgroundJob, property ErrorInfo
Global context, method DetailErrorDescription

    

1C:Enterprise Developer's Community