Syntax error descriptor.
Class SyntaxError( [code],[description],[extra] ) from \ Error( code, description, extra )
code | A numeric error code. |
description | A textual description of the error code. |
extra | A descriptive message explaining the error conditions. |
This errors are generated by the compiler or the assembler when a compilation fails. Usually, scripts won't receive this unless they are using the compiler to compile themselves modules on the fly.
Properties inherited from class Error | |
boxed | Boxed error. |
code | Error code associated with this error. |
description | Textual description for the error code of this error. |
line | Line at which the error happened. |
message | Arbitrary text used to better explain and define the error conditions. |
module | Name of the module where the error has been generated. |
origin | String identifying the origin of the error. |
pc | Program counter of the instruction that raised the error. |
subErrors | Array of sub-errors. |
symbol | Symbol name (function or method) where the error has been raised. |
systemError | If the error was caused by a failure during an OS operation, this this property contains the error code indicating the cause of the failure. |
Methods inherited from class Error | |
getSysErrDesc | returns system specific error description. |
heading | Creates a short textual representation of the error. |
toString | Creates a textual representation of the error. |