MishkaGervaz.Errors.Data.LoadFailed exception (MishkaGervaz v0.0.1-alpha.2)

Copy Markdown View Source

Raised when data loading fails.

Fields

  • :resource - The resource module that failed to load
  • :reason - The reason for the failure
  • :page - Optional page number that failed

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %MishkaGervaz.Errors.Data.LoadFailed{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  page: term(),
  path: term(),
  reason: term(),
  resource: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.MishkaGervaz.Errors.Data.LoadFailed without raising it.

Keys

  • :resource
  • :reason
  • :page