Error accessing an indexed item.
Class AccessError( [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 error is generated when an array was accessed beyond its size, or a key was not found in a dictionary, or a requested property was not found in an object.
In addition, core, RTL and extension functions may raise this error when the semantic is appropriate (i.e. when providing them unexisting property names, or when requesting to access an unexisting range in an array).
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. |