class GLib::Error
Overrides for GError, used by GLib for handling non-fatal errors.
Constants
- GIR_FFI_DOMAIN
Public Class Methods
from(it)
click to toggle source
# File lib/ffi-glib/error.rb, line 12 def self.from(it) from_exception it end
from_exception(ex)
click to toggle source
# File lib/ffi-glib/error.rb, line 8 def self.from_exception(ex) new_literal GIR_FFI_DOMAIN, 0, ex.message end