Ltix.Errors.Invalid exception (Ltix v0.1.0)

Copy Markdown View Source

Error class for spec-violating input data.

Covers malformed JWTs, missing/invalid claims, missing OIDC parameters, and unknown registrations/deployments.

Summary

Functions

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

Callback implementation for Exception.message/1.

Functions

exception(args)

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

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

Keys

  • :errors

message(map)

Callback implementation for Exception.message/1.