Skip to main content

Type Alias: GErrorLike

GErrorLike = NativeObject & object

Defined in: packages/ffi/src/native/error.ts:8

Interface representing a GLib GError structure.

Contains the error domain, code, and message from native GTK/GLib errors.

Type Declaration

NameTypeDescriptionDefined in
getCode()() => numberThe error code within the domainpackages/ffi/src/native/error.ts:12
getDomain()() => numberThe error domain (quark identifying the error source)packages/ffi/src/native/error.ts:10
getMessage()() => stringHuman-readable error messagepackages/ffi/src/native/error.ts:14