Exception: Hecks::Runtime::NothingToCorrect
- Inherits:
-
StandardError
- Object
- StandardError
- Hecks::Runtime::NothingToCorrect
- Defined in:
- lib/hecks/runtime/errors.rb
Overview
corrects names a past event this record must have already emitted
(CommandBuilder#corrects_impl's own comment) — a fact the expression
evaluator cannot check (it is not a predicate over the record's OWN
fields, it is "did this exact record ever announce this"), so it is
raised structurally, the same way AlreadyExists/NotFound are, rather
than being expressible as an ordinary given. Raised by
CommandRules::Admissibility#enforce_correction_target.