Error Properties |
|
The Error type exposes the following members.
| Name | Description | |
|---|---|---|
| Arg | A string representing the argument supplied to an operator or function when an argument error occurs. | |
| ArgNum | A numeric value representing the number of the argument supplied to an operator or function when an argument error occurs. | |
| Args | An array of the arguments supplied to an operator or function when an argument error occurs. | |
| ArgType | A numeric value representing the data type of the argument that raised the error. | |
| ArgTypeReq | A numeric value representing the expected type of the argument that raised the error. | |
| ArgTypeReqType | The system type representing the expected type of the argument that raised the error. | |
| ArgTypeType | The system type representing the data type of the argument that raised the error. | |
| CallFuncSym | A symbol representing the calling function of the function in which the error occurred. | |
| CanDefault | A logical value indicating whether the subsystem can perform default error recovery for the error condition. | |
| CanRetry | A logical value indicating whether the subsystem can retry the operation that caused the error condition. | |
| CanSubstitute | A logical value indicating whether a new result can be substituted for the operation that produced the error condition. | |
| Cargo | A value of any data type unused by the Error system. It is provided as a user-definable slot, allowing arbitrary information to be attached to an Error object and retrieved later | |
| Description | A string that describes the error condition. | |
| FileHandle | A numeric value representing the file handle supplied to a function when an file error occurs. | |
| FileName | A string representing the name used to open the file associated with the error condition. | |
| FuncPtr | A pointer to the function in which the error occurred. | |
| FuncSym | A string representing the name of the function or method in which the error occurred. | |
| Gencode | An integer numeric value representing a Visual Objects generic error code. | |
| GenCodeText | An string containing the description of the Gencode. | |
| MaxSize | A numeric value representing a boundary condition for an operation (such as string overflow or array bound error). | |
| MethodSelf | An object representing the SELF of the method in which the error occurred. | |
| Operation | A string that describes the operation being attempted when the error occurred. | |
| OSCode | A value of 0 indicates that the error condition was not caused by an error from the operating system. | |
| OSCodeText | Descripion of the OSCode | |
| Severity | A constant indicating the severity of the error condition. | |
| Stack | Call stack from the moment where the error object was created | |
| StackTrace | (Overrides StackTrace.) | |
| SubCode | An integer numeric value representing a subsystem-specific error code. | |
| SubCodeText | An string containing the description of the SubCode. | |
| SubstituteType | A numeric value representing the type of the new result that the error handler substitutes for the operation that produced the error condition. | |
| SubSystem | A string representing the name of the subsystem generating the error. | |
| Tries | An integer numeric value representing the number of times the failed operation has been attempted. |