AshPagify.Error.Query.InvalidParamsError exception (ash_pagify v1.4.2)

View Source

Raised when parameter validation fails.

This can occur under a number of circumstances, such as:

  • Pagination parameters are improperly formatted or invalid.
  • Filter values are incompatible with the respective field's type or specified operator.
  • Ordering parameters are not provided in the correct format.

Summary

Types

t()

@type t() :: %AshPagify.Error.Query.InvalidParamsError{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  errors: keyword(),
  params: map(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %AshPagify.Error.Query.InvalidParamsError{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  errors: term(),
  params: term(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.AshPagify.Error.Query.InvalidParamsError without raising it.

Keys

  • :errors
  • :params