Ltix.Errors.Invalid.ScopeMismatch exception (Ltix v0.2.0)

Copy Markdown View Source

Client lacks the required OAuth scope.

The following fields of this exception are public and can be accessed freely.

  • :scopes (list of String.t/0) - the scopes that would authorize the request, none of which the client was granted

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %Ltix.Errors.Invalid.ScopeMismatch{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  granted_scopes: term(),
  path: term(),
  scopes: term(),
  spec_ref: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.Ltix.Errors.Invalid.ScopeMismatch without raising it.

Keys

  • :scopes
  • :granted_scopes
  • :spec_ref