error class : StringOfLine getter

Description

Gets the source code of the line where the error occurred.

Syntax

errorInstance.StringOfLine

Arguments

None

Return value

ClassDescription
stringThe source code of the line where the error occurred.

Sample code

string code = __error.StringOfLine;

Notes

None

Links for reference

None

Copyright © Rice All rights reserved.