Exception: Kumi::Core::Errors::CompilerBug
- Defined in:
- lib/kumi/core/errors.rb
Overview
An internal compiler invariant was violated — a “this should never happen” condition, not a problem with the user’s schema. Raising this (instead of a bare RuntimeError or a SemanticError) keeps invariant failures from being presented to users as if they wrote bad input, and frames them as a bug to report.
Instance Method Summary collapse
-
#initialize(message) ⇒ CompilerBug
constructor
A new instance of CompilerBug.
Constructor Details
#initialize(message) ⇒ CompilerBug
Returns a new instance of CompilerBug.
70 71 72 |
# File 'lib/kumi/core/errors.rb', line 70 def initialize() super("internal compiler error (please report): #{}") end |