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


[View source]
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.


[View source]
def finalize #

[View source]
def to_unsafe : Pointer(LibGLib::Error) #

[View source]