Contains the OREF from an unsuccessful THROW.
contains the object reference (OREF) thrown by the most recent unsuccessful THROW
operation. InterSystems IRIS writes an OREF to $THROWOBJ
when it issues a <THROW> error. Commonly, this occurs when attempting to issue a THROW
when not inside a TRY
You can also explicitly reset $THROWOBJ
cannot be set to any value other than the empty string using the SET
command. Attempting to do so results in a <ILLEGAL VALUE> error.