The exception raised when a generated NIF call fails.
Native wrappers populate stable diagnostic fields in addition to the legacy
:message. Generated public wrappers enrich argument failures with names,
declared C types and the category of the original Elixir value.
KINDA_DUMP_STACK_TRACE=1 prints a native error return trace for internal
native failures. Input decoding errors do not suggest a native trace because
the caller already has enough information to correct the invocation.
Summary
Types
@type t() :: %Kinda.CallError{ __exception__: term(), actual: String.t() | nil, argument_index: pos_integer() | nil, argument_name: atom() | String.t() | nil, arity: non_neg_integer() | nil, expected: String.t() | nil, function: atom() | String.t() | nil, message: String.t() | nil, native_error: String.t() | nil, phase: atom() | nil, reason: atom() | nil }