class GLib::Error

Direct Known Subclasses

Defined in:

lib/gi-crystal/src/bindings/g_lib/error.cr

Instance Method Summary

Instance Method Detail

def code : Int32 #

Return numerical error code


def 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.


def finalize #

def to_unsafe : Pointer(LibGLib::Error) #