Class SyntaxError

Syntax error descriptor.

class SyntaxError( [code], [description], [extra] ) \ from Error( code, description, extra )

Inherited properties

code from Error Error code associated with this error.
description from Error Textual description for the 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.

Inherited methods

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.

Detailed description

class SyntaxError( [code], [description], [extra] ) \ from Error( code, description, extra )

codeA numeric error code.
descriptionA textual description of the error code.
extraA descriptive message explaining the error conditions.

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.


Made with faldoc 2.2.0