# `Alternera.Plugin.RowError`
[🔗](https://github.com/10e-ab/alternera-sdk/blob/v0.9.0/alternera_plugin_sdk/lib/alternera/plugin/row_error.ex#L1)

Reads back a save error about one row of a list in a step's settings,
for an editor that shows it at that row.

A plugin refuses a row as `<label> N: reason`, rows counted from 1,
with an optional `(…)` after the number that says what the row is:
`To row 2 (headers · etag): …` (`Plugin.Targets`), `input 3: …`,
`Set value 1: …`. In front of it goes at most one `<Plugin name>: `
(`Store: To row 2 (body): …`, `Call: input 1: …`).

# `parse`

```elixir
@spec parse(term(), String.t()) :: {non_neg_integer(), String.t()} | nil
```

The row `message` is about, counted from 0, and the reason as written;
nil when it is not a refusal of a `label` row.

    iex> Alternera.Plugin.RowError.parse("Call: input 2: page is passed twice", "input")
    {1, "page is passed twice"}

    iex> Alternera.Plugin.RowError.parse("Call: a call names the pipeline it runs", "input")
    nil

---

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