# File lib/rye/box.rb, line 523 523: def exception_hook(klass, &block) 524: @rye_exception_hook[klass] = block if block 525: @rye_exception_hook[klass] 526: end