AshRateLimiter.LimitExceeded exception (ash_rate_limiter v0.1.2)

An exception which is raised or returned when an action invocation exceeds the defined limits.

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %AshRateLimiter.LimitExceeded{
  __exception__: true,
  action: term(),
  bread_crumbs: term(),
  class: term(),
  hammer: term(),
  key: term(),
  limit: term(),
  path: term(),
  per: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.AshRateLimiter.LimitExceeded without raising it.

Keys

  • :action
  • :hammer
  • :limit
  • :per
  • :key