Figler.OptionError (figler v0.1.0-beta.1)

Copy Markdown View Source

A structured error for one invalid public option.

Option validators return these values inside their operation-specific error contract. Match on :option and :code; :value preserves the rejected input for diagnostics.

Summary

Types

t()

@type t() :: %Figler.OptionError{code: atom(), option: atom(), value: term()}