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

Raised when a step's `{{NAME}}` or `{{secret.NAME}}` reference has no
value (`Pipelines.TenantVars.resolve!/3`). The runner turns it into the
step's failure with error type `unresolved_variable`
(`Pipelines.Runner`, around every `call/3`), so a plugin that resolves deep
inside its own code (a header rewrite, a template) needs no error path
of its own. The message names the reference, never a value.

# `t`

```elixir
@type t() :: %Alternera.Plugin.UnresolvedVariableError{
  __exception__: term(),
  message: String.t()
}
```

# `type`

```elixir
@spec type() :: String.t()
```

The error type the step fails with.

---

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