Ltix.Errors.Unknown.RedirectNotAllowed exception (Ltix v0.2.0)

Copy Markdown View Source

A platform endpoint returned an unsafe or invalid redirect.

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %Ltix.Errors.Unknown.RedirectNotAllowed{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  location: term(),
  path: term(),
  spec_ref: term(),
  splode: term(),
  stacktrace: term(),
  status: term(),
  url: term(),
  vars: term()
}

Create an Elixir.Ltix.Errors.Unknown.RedirectNotAllowed without raising it.

Keys

  • :status
  • :url
  • :location
  • :spec_ref