A boolean. If true and an error occurs while retrieving the error information, then an error of type
com-error
is signalled. Otherwise
nil
is returned.
A list of keywords specifying the error information fields to return.
The function
get-error-info
allows the various components of the error information to be retrieved for the last Automation method called. The
fields
should be a list of the following keywords, to specify which fields of the error information should be returned:
A
refguid
object.
A string specifying the ProgID.
A string describing the error.
A string giving the help file's path.
An integer giving the help context id.
A
field-value
will be returned for each
field
specified. The
field-value
will be
nil
if the
field
is does not have a value.
(multiple-value-bind (source description)
(get-error-info :fields '(:source :description))
(error "Failed with '~A' in ~A" description source))