description Property

Class: Error

Description

This optional property provides a description of the error.

Syntax

Error.description

Returns

The exception description defined in the initInst expression of the Class.new() that created the Error object. The exception description is an optional free form text description.

When Became Available

v6.0

Example

catch Error {

      set ET=Error.type

      set CONTEXT=Error.context

      if ET["%GTM" do ZE^UTLERR quit

      set RM=Error.description

      set ET=ET_"-"_RM_"-"_Error.thrownAt

      do ^UTLERR

      }