Skip to main content

Module error

Module error 

Source

Enums§

UikaError
Rich error type for Uika operations.

Functions§

check_ffi
Convert an FFI error code to a UikaResult<()>. Ok maps to Ok(()), all others map to the corresponding UikaError.
check_ffi_ctx
Like check_ffi, but enriches property/function errors with the given name.
ffi_infallible
Assert that an FFI call returned Ok. Used for codegen-generated methods where handle validation has already been performed and the C++ wrapper is expected to always succeed. Panics in debug builds if the code is not Ok.
ffi_infallible_ctx
Like ffi_infallible, but includes a context string in the panic message.

Type Aliases§

UikaResult
Convenience alias used throughout the runtime and generated code.