Error
Object Hierarchy:
Description:
public class Error :
Object,
Serializable
Wire error object (code, message, domain, gerror_code).
Not GLib.Error — GLib.Object for bin encode/decode.
code is the JSON-RPC number (a
RpcErrorCode value).
domain / gerror_code are the GLib.Error to
throw on the client (function throw or RpcErrorCode).
Content:
Properties:
- public int code { get; set; }
- public string domain { get; set; }
GLib error domain quark string (e.g. g-file-error-quark).
Always set on replies from RpcErrorCode.to_error.
- public int gerror_code { get; set; }
Thrown GLib.Error code (e.g.
GLib.FileError.NOENT). Not code.
- public string message { get; set; }
Static methods:
Creation methods:
- public Error (int code, string message, string method = "", int request_id = 0)
Methods:
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface OLLMrpc.Bin.Serializable