Exception: Interrupt
Overview
-- Custom fault defaults for Ruby stdlib exceptions --------------------------
Normally, fault attribution belongs at the raise site (via fault: kwarg).
These classes are different: Ruby itself raises them (e.g. the kernel sends
SIGINT, the OS returns ENOSPC), so there is no raise site we control. We
override the default fault at the class level instead.
All of these are environmental conditions ("terroir") — nobody's fault, nothing to fix, shouldn't be reported as bugs.
Instance Method Summary collapse
-
#fault ⇒ Object
: -> Exception::Fault.
Methods inherited from Exception
#bug!, #bug?, #fault!, #silent!, #silent?, #with_fault
Instance Method Details
#fault ⇒ Object
: -> Exception::Fault
113 |
# File 'lib/cli/kit/core_ext.rb', line 113 def fault = Exception::Fault::TERROIR |