Exception: Terminalwire::V2::Interrupted
- Inherits:
-
Exception
- Object
- Exception
- Terminalwire::V2::Interrupted
- Defined in:
- lib/terminalwire/v2/errors.rb
Overview
Raised into the CLI thread to deliver a client Ctrl-C, like a local SIGINT —
but NOT a SignalException (Ruby's Interrupt). Raising the real Interrupt into a
thread inside a Falcon worker disturbs the async reactor and kills the
connection; a plain Exception subclass interrupts blocking calls without that.
Subclasses Exception (not StandardError) so user CLI code's rescue StandardError can't swallow it — only the Handler catches it -> exit 130.