View Source Flop.InvalidParamsError exception (Flop v0.25.0)

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.
  • Filters are applied on fields that have not been configured as filterable.
  • Ordering parameters are applied on fields that have not been configured as sortable.

Summary

Functions

Callback implementation for Exception.message/1.

Types

@type t() :: %Flop.InvalidParamsError{
  __exception__: true,
  errors: keyword(),
  params: map()
}

Functions

Callback implementation for Exception.message/1.