Return a new status code that is the combination of the two status codes.
For example, if both statuscode1 and statuscode2 contain errors,
then the new status code will contain 2 error messages.
classmethod DecomposeStatus(statuscode As %Status, ByRef errorlist, qspec As %String, language As %String) as %Status
Returns the error text and error information for statuscode;
this information is returned by reference through the errorlist parameter.
The errorlist parameter is a multidimensional array containing information about
each error. If the errorlist array already contains values,
the method appends the new values.
If the qspec parameter contains the "d" flag, then the error text is also displayed to the screen.
To return the error text in a different language, pass a language code as the language parameter.
classmethod DisplayError(statuscode As %Status) as %Status
Return an error status code with the error as specified by the errorcode.
Some error codes accept addition parameters as embedded message in the error text.
classmethod GetErrorCodes(statuscode As %Status) as %String
Returns the error codes for statuscode as a comma-delimited list.
Returns the error text for statuscode.
If there is more than one error in the statuscode, then the multiple error text
strings are separated by <CRLF>.
To return the error text in a different language, pass a language code as the language parameter.
Return an SQLCODE equivalent to the statuscode. message contains the status text. Precise error code to SQLCODE value are
only possible for SQLCODE errors - $$$SQLCode and $$$SQLError. All other error numbers translate to -400.