GrError

Contains a lot of information about what just happened.

Members

Enums

Type
enum Type

From which step the error come from.

Functions

prettify
string prettify()

Format the error and prints it.

Properties

column
size_t column [@property setter]
size_t column [@property getter]

Character offset of the error at the line.

filePath
string filePath [@property setter]
string filePath [@property getter]

Script that generated the error.

info
string info [@property setter]
string info [@property getter]

What's wrong in details.

line
size_t line [@property setter]
size_t line [@property getter]

Line of the error inside the script.

lineText
string lineText [@property setter]
string lineText [@property getter]

The line from which the error originate

message
string message [@property setter]
string message [@property getter]

Error title.

note
string note [@property setter]
string note [@property getter]

Some remarks about the problem.

otherColumn
size_t otherColumn [@property setter]
size_t otherColumn [@property getter]

Character offset of the error at the line.

otherFilePath
string otherFilePath [@property setter]
string otherFilePath [@property getter]

Script that generated the error.

otherInfo
string otherInfo [@property setter]
string otherInfo [@property getter]

What's wrong in details.

otherLine
size_t otherLine [@property setter]
size_t otherLine [@property getter]

Line of the error inside the script.

otherLineText
string otherLineText [@property setter]
string otherLineText [@property getter]

The line from which the error originate

otherTextLength
size_t otherTextLength [@property setter]
size_t otherTextLength [@property getter]

Size of the error segment, the error is in between column and column + textLength

textLength
size_t textLength [@property setter]
size_t textLength [@property getter]

Size of the error segment, the error is in between column and column + textLength

type
Type type [@property setter]
Type type [@property getter]

From which step the error come from.

Variables

_column
size_t _column;
Undocumented in source.
_filePath
string _filePath;
Undocumented in source.
_info
string _info;
Undocumented in source.
_line
size_t _line;
Undocumented in source.
_lineText
string _lineText;
Undocumented in source.
_message
string _message;
Undocumented in source.
_note
string _note;
_otherColumn
size_t _otherColumn;
Undocumented in source.
_otherFilePath
string _otherFilePath;
Undocumented in source.
_otherInfo
string _otherInfo;
Undocumented in source.
_otherLine
size_t _otherLine;
Undocumented in source.
_otherLineText
string _otherLineText;
Undocumented in source.
_otherTextLength
size_t _otherTextLength;
Undocumented in source.
_textLength
size_t _textLength;
Undocumented in source.
_type
Type _type;
Undocumented in source.

Meta