Constructor
# new ParserLog(propsopt)
Default constructor.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
props |
object
|
<optional> |
Object that contains all properties to set. |
path |
string
|
<optional> |
File path. |
severity |
number
|
<optional> |
Log severity. |
startLineNumber |
number
|
<optional> |
The starting line of the error. |
startColumn |
number
|
<optional> |
The starting column of the error. |
endLineNumber |
number
|
<optional> |
The ending line of the error. |
endColumn |
number
|
<optional> |
The ending column of the error. |
message |
string
|
<optional> |
The i18n key used in leto. |
initialErrorMessage |
string
|
<optional> |
The initial message from error. |
componentId |
string
|
<optional> |
The component id where the error appears. |
attribute |
string
|
<optional> |
The attribute name where the error appears, if null error is on the component. |
extraData |
string
|
<optional> |
Extra data for adding information in translation. |