CEL.OptionError exception (CEL v0.2.0)

Copy Markdown View Source

Option failure in a CEL entry point: the caller passed options it does not accept, a known option carried an invalid value, or options were not a keyword list.

Summary

Types

Which option failure this is.

t()

Types

kind()

@type kind() :: :unknown_options | :invalid_option | :invalid_options

Which option failure this is.

t()

@type t() :: %CEL.OptionError{
  __exception__: term(),
  kind: kind() | nil,
  option: term(),
  options: term(),
  reason: term(),
  value: term()
}