OauthAzureActivedirectory.Error exception (oauth_azure_activedirectory v1.1.1)

Summary

Functions

Return the message for the given error.

Types

@type t() :: %OauthAzureActivedirectory.Error{
  __exception__: true,
  module: module(),
  reason: atom()
}

Functions

@spec message(t()) :: String.t()

Return the message for the given error.

Examples

 iex> {:error, %MyApp.Error{} = error} = do_something()
 iex> Exception.message(error)
 "Unable to perform this action."
Link to this function

wrap(module, reason)

@spec wrap(module(), atom()) :: t()