# AUTOGetExceptInfo (W*S)

AUTO Subroutine: Retrieves the exception information when a method has returned an exception status.

## Module

USE IFAUTO

CALL AUTOGetExceptInfo (invoke_args,code,source,description,h_file,h_context,scode)

invoke_args | The argument list data structure. Must be of type INTEGER(INT_PTR_KIND()).
code | An output argument that returns the error code. Must be of type INTEGER(2).
source | An output argument that returns a human-readable name of the source of the exception. Must be of type CHARACTER*(*).
description | An output argument that returns a human-readable description of the error. Must be of type CHARACTER*(*).
h_file | An output argument that returns the fully qualified path of a Help file with more information about the error. Must be of type CHARACTER*(*).
h_context | An output argument that returns the Help context of the topic within the Help file. Must be of type INTEGER(4).
scode | An output argument that returns an SCODE describing the error. Must be of type INTEGER(4).

Parent topic: Automation Server (AUTO) and Component Object Model (COM) Library Routines