Skip to main content

Module error

Module error 

Source
Expand description

Shared, FFI-independent error type for the language bindings.

Each binding historically defined its own error plumbing (a PyException wrapper, a napi::Error helper, a magnus Error, a PhpException, a JsValue), all of them message-only. This module provides a single CoreError carrying an ErrorKind category plus a message, so each binding can keep just one From<CoreError> conversion into its native exception type.

Structs§

CoreError
An FFI-independent error shared by all Lindera language bindings.

Enums§

ErrorKind
Category of a binding-facing error.

Type Aliases§

CoreResult
A convenient Result alias for binding-core operations.