Skip to main content

Interface: GErrorLike

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.

Extends

Properties

code

readonly code: number

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

The error code within the domain


domain

readonly domain: number

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

The error domain (quark identifying the error source)


handle

handle: NativeHandle

Defined in: packages/ffi/src/native/base.ts:19

The underlying native handle

Inherited from

NativeObject.handle


message

readonly message: string

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

Human-readable error message