class Rubellite::Error

Overview

Represents an exception raised inside the Ruby runtime.

Defined in:

rubellite/exception.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_ruby_errinfo : Error #

Extracts the active Ruby error info from LibRuby.rb_errinfo


[View source]
def self.new(message : String, ruby_class : String = "RuntimeError", ruby_backtrace : Array(String) = [] of String) #

[View source]

Instance Method Detail

def ruby_backtrace : Array(String) #

[View source]
def ruby_class : String #

[View source]