Backplane.SkillProtocol.Error (backplane_skill_protocol v0.8.0)

Copy Markdown

Stable error returned for expected protocol failures.

Summary

Types

t()

@type t() :: %Backplane.SkillProtocol.Error{
  code: atom(),
  context: map(),
  message: String.t(),
  phase: atom(),
  retryable: boolean()
}

Functions

new(code, phase, message, opts \\ [])

@spec new(atom(), atom(), String.t(), keyword()) :: t()