bricks v0.1.0 Bricks.Error.BadOption View Source

A bad option was provided

Link to this section Summary

Types

Key of the option

t()

A bad option was provided

Value of the option

Functions

Creates a new BadOption with the given key, val and valid_types

Link to this section Types

Key of the option

Link to this type t() View Source
t() :: %Bricks.Error.BadOption{key: key(), val: val(), valid_types: [term()]}

A bad option was provided

Value of the option

Link to this section Functions

Link to this function new(key, val, valid_types) View Source
new(key(), val(), [term()]) :: t()

Creates a new BadOption with the given key, val and valid_types