Exception: Empathy::ThreadError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/empathy.rb

Overview

This is never thrown but can be used to rescue both ThreadError and FiberError

Constant Summary collapse

RUBY_ThreadError =
::ThreadError

Class Method Summary collapse

Class Method Details

.===(other) ⇒ Object



50
51
52
# File 'lib/empathy.rb', line 50

def self.===(other)
  super || ::FiberError === other || RUBY_ThreadError === other
end