Syntax error descriptor.
class SyntaxError( [code], [description], [extra] ) \ from Error( code, description, extra )
code from Error | Error code associated with this error. |
description from Error | Textual description for the error code of this error |
line from Error | Line at which the error happened |
message from Error | Arbitrary text used to better explain and define the error conditions |
module from Error | Name of the module where the error has been generated |
origin from Error | String identifying the origin of the error. |
pc from Error | Program counter of the instruction that raised the error |
subErrors from Error | Array of sub-errors |
symbol from Error | Symbol name (function or method) where the error has been raised |
systemError from Error | 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 |
getSysErrDesc from Error | returns system specific error description. |
heading from Error | Creates a short textual representation of the error. |
toString from Error | Creates a textual representation of the error. |
Syntax error descriptor.
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.