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

Copy Markdown View Source

An eager collection fetch exceeded its safety limit.

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

  • :option (atom/0) - the limit option, such as :max_members or :max_results
  • :count (non_neg_integer/0) - the number of entries fetched when the limit was exceeded

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %Ltix.Errors.Invalid.CollectionTooLarge{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  count: term(),
  max: term(),
  option: term(),
  path: term(),
  service: term(),
  spec_ref: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

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

Keys

  • :service
  • :option
  • :count
  • :max
  • :spec_ref