All exception classes support built-in methods for returning the error message and exception type. See Exception Class and Built-In Exceptions.
The Auth namespace contains the following exception.
Exception | Description | Methods |
---|---|---|
Auth.ConnectedAppPluginException | Throw this exception to indicate that an error occurred while running the custom behavior for a connected app. | To get the error message and write it to debug log, use the String getMessage(). |