OauthAzureActivedirectory.Error exception (oauth_azure_activedirectory v1.0.0)

Link to this section Summary

Functions

Return the message for the given error.

Link to this section Types

Specs

t() :: %OauthAzureActivedirectory.Error{
  __exception__: term(),
  module: module(),
  reason: atom()
}

Link to this section Functions

Specs

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)

Specs

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