# `Ltix.Errors.Invalid.PresentationTargetNotAccepted`
[🔗](https://github.com/DecoyLex/ltix/blob/main/lib/ltix/errors/invalid/presentation_target_not_accepted.ex#L1)

Content item presentation not in the platform's `accept_presentation_document_targets` list.

The following fields of this exception are public and can be accessed freely.

  * `:index` (`t:non_neg_integer/0`) - the item's position in the list passed to `Ltix.DeepLinking.build_response/3`
  * `:target` (`t:String.t/0`) - `"iframe"`, `"window"`, or `"embed"`

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) ::
  %Ltix.Errors.Invalid.PresentationTargetNotAccepted{
    __exception__: term(),
    accept_presentation_document_targets: term(),
    bread_crumbs: term(),
    class: term(),
    index: term(),
    path: term(),
    spec_ref: term(),
    splode: term(),
    stacktrace: term(),
    target: term(),
    vars: term()
  }
```

Create an `Elixir.Ltix.Errors.Invalid.PresentationTargetNotAccepted` without raising it.

## Keys

- :index
- :target
- :accept_presentation_document_targets
- :spec_ref

---

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