MishkaCmsCore.Accounts.SocialSignIn.Refused exception (Mishka CMS Core v0.0.1)

Copy Markdown View Source

A sign-in with a provider that MishkaCmsCore.Accounts.SocialSignIn turned away: :reason is :unverified_email (the provider did not vouch for the email), :no_account (no account has it and the site makes none this way) or :no_master (no master has it). Told to the visitor by the sign-in page (see MishkaCmsCore.Accounts.SocialSignIn.describe/1).

Summary

Types

t()

@type t() :: %MishkaCmsCore.Accounts.SocialSignIn.Refused{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  path: term(),
  reason: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %MishkaCmsCore.Accounts.SocialSignIn.Refused{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  path: term(),
  reason: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.MishkaCmsCore.Accounts.SocialSignIn.Refused without raising it.

Keys

  • :reason