# `Ash.Error.Invalid.NonCountableAction`
[🔗](https://github.com/ash-project/ash/blob/v3.27.8/lib/ash/error/invalid/non_countable_action.ex#L5)

Used when page[:count] option is passed but the action's pagination is not countable.

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) :: %Ash.Error.Invalid.NonCountableAction{
  __exception__: term(),
  action: term(),
  bread_crumbs: term(),
  class: term(),
  path: term(),
  resource: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}
```

Create an `Elixir.Ash.Error.Invalid.NonCountableAction` without raising it.

## Keys

- :resource
- :action

---

*Consult [api-reference.md](api-reference.md) for complete listing*
