kkrpc
    Preparing search index...

    Interface RPCErrorContext

    Error state after the handler/plugin chain throws.

    interface RPCErrorContext {
        error: unknown;
        id: string;
        meta?: RPCMessageMetadata;
        method: string;
        operation: RPCOperation;
        path: string[];
        state: Record<string, unknown>;
    }
    Index

    Properties

    error: unknown

    Mutable error that will be serialized if rethrown.

    id: string

    Request id.

    Protocol-level metadata attached to the incoming request.

    method: string

    Dot-joined path, useful for logging and validation lookup.

    operation: RPCOperation

    Operation that failed.

    path: string[]

    Property path on the exposed local API.

    state: Record<string, unknown>

    Per-request state shared across plugin hooks.