# `Sekisho.Denied`
[🔗](https://github.com/hattoriai/sekisho/blob/v0.1.0-dev/lib/sekisho/denied.ex#L1)

A permission refused: what `authorize/3` returns and `authorize!/3` raises.

Phoenix answers it with a 403 (`plug_status`), or a 404 with `deny_as:
:not_found` in `use Sekisho`, so that a record's existence is not told.

# `t`

```elixir
@type t() :: %Sekisho.Denied{
  __exception__: term(),
  permission: atom(),
  plug_status: 403 | 404,
  resource: struct() | module()
}
```

---

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