Exception raised or returned when an AshAuthzed operation fails.
AshAuthzed
@type t() :: %AshAuthzed.Error{__exception__: true, details: term(), reason: atom()}
@spec new(atom(), term()) :: t()