class GLib::Error
- GLib::Error
- RuntimeError
- Exception
- Reference
- Object
Direct Known Subclasses
- Gdk::GdkError
- GdkPixbuf::GdkPixbufError
- Gio::GioError
- GLib::GLibError
- GModule::GModuleError
- Gsk::GskError
- Gtk::GtkError
- Pango::PangoError
Defined in:
lib/gi-crystal/src/bindings/g_lib/error.crInstance Method Summary
-
#code : Int32
Return numerical error code
-
#domain : String
Return the error domain, only useful if the error is unknown to the binding, otherwise is faster to just check for the error class.
- #finalize
- #to_unsafe : Pointer(LibGLib::Error)
Instance Method Detail
Return the error domain, only useful if the error is unknown to the binding, otherwise is faster to just check for the error class.