The exception raised when Kinda cannot resolve or generate a declaration.
:stage and :reason are stable identifiers. :source, :expected and :actual retain the values needed to diagnose malformed generator input.
:stage
:reason
:source
:expected
:actual
@type t() :: %Kinda.GenerationError{ __exception__: term(), actual: term(), expected: term(), message: String.t() | nil, reason: atom() | nil, source: term(), stage: atom() | nil }