# `MutagenEx.Pipeline.ReporterErrorFacade`
[🔗](https://github.com/iautom8things/mutagen_ex/blob/v0.2.0/lib/mutagen_ex/pipeline/reporter_error_facade.ex#L1)

Behaviour for the `:reporter_error` slot of the `Mix.Tasks.Mutagen`
dispatch table.

Production default: `MutagenEx.JsonReporter` (its `emit_error/2`
is the abort-shape encoder).

# `emit_error`

```elixir
@callback emit_error(
  report :: MutagenEx.JsonReporter.Report.t(),
  abort_reason :: atom()
) :: {iodata(), non_neg_integer()}
```

Encode an abort `%Report{}` + reason into `{iodata, exit_code}`.

---

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