GDKResult๏ƒ

Inherits: RefCounted < Object

Normalized result object for GDK async operations.

Description๏ƒ

Contains ok, hresult, code, message, and optional data.

Methods๏ƒ

bool

is_ok()

int

get_hresult()

String

get_code()

String

get_message()

Variant

get_data()


Method Descriptions๏ƒ

bool is_ok() ๐Ÿ”—

Returns true when the operation completed successfully.


int get_hresult() ๐Ÿ”—

Returns the underlying Win32 HRESULT value for the result.


String get_code() ๐Ÿ”—

Returns the stable machine-readable error code (for example already_initialized).


String get_message() ๐Ÿ”—

Returns the human-readable result message.


Variant get_data() ๐Ÿ”—

Returns optional payload data attached to the result.