class
Rubellite::Error
- Rubellite::Error
- Exception
- Reference
- Object
Overview
Represents an exception raised inside the Ruby runtime.
Defined in:
rubellite/exception.crConstructors
-
.from_ruby_errinfo : Error
Extracts the active Ruby error info from
LibRuby.rb_errinfo - .new(message : String, ruby_class : String = "RuntimeError", ruby_backtrace : Array(String) = [] of String)
Instance Method Summary
Constructor Detail
Extracts the active Ruby error info from LibRuby.rb_errinfo
def self.new(message : String, ruby_class : String = "RuntimeError", ruby_backtrace : Array(String) = [] of String)
#