Function magnus::exception::thread_error
source · pub fn thread_error() -> ExceptionClass
Expand description
Return Ruby’s ThreadError
class.
§Panics
Panics if called from a non-Ruby thread. See
Ruby::exception_thread_error
for the non-panicking version.