11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

$ZERRORAdditional Information For Some ErrorsWhen certain types of errors occurs, <strong>Caché</strong> returns the error in the following format: infoThe info component contains additional information about what caused the error. The infocomponent of $ZERROR is provided at <strong>Caché</strong> 5.1 and subsequent versions.The following table gives a list of errors that include additional info and the format of thatinformation. The error code is separated from the info component by a space character.Error CodeInfo ComponentThe name of the undefined variable (including any subscriptsused). This may be a local variable, a process-private global,or a global. Local variable names are prefixed by an asterisk.The subscript reference in error.Prefixed by an asterisk, the referenced routine name.Prefixed by an asterisk, the referenced class name.Prefixed by an asterisk, the name of the referenced property,followed by a comma separator and the class name it issupposed to be in.Prefixed by an asterisk, the name of the method invoked,followed by a comma separator and the class name it issupposed to be in.The name of the global referenced and the name of the directorycontaining it, separated by a comma.The names of variables local to routines (or methods), as well as the names of undefinedroutines, classes, properties, and methods, are prefixed with an asterisk (*). Process-privateglobals are identified by their ^|| prefix. Global variables are identified by their ^ (caret) prefix.Class names are presented in their %-prefix form.The following examples show additional error information specifying the cause of the error.In each case, the specified item does not exist. Note that the info component of the generatederror is separated from the error name by a blank space. The asterisk (*) indicates a localvariable, a class, a property, or a method. The caret (^) indicates a global, and ^|| indicates aprocess-private global.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 471

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!