Alternera.Plugin.UnresolvedVariableError exception (alternera_plugin_sdk v0.9.0)

Copy Markdown View Source

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.

Summary

Functions

The error type the step fails with.

Types

t()

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

Functions

type()

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

The error type the step fails with.