nexus-rpc
    Preparing search index...

    Interface OperationErrorOptionsExperimental

    Options for constructing an OperationError.

    interface OperationErrorOptions {
        cause?: Error;
        originalFailure?: Failure;
        stackTrace?: string;
    }
    Index

    Properties

    cause?: Error

    Underlying cause of the error.

    originalFailure?: Failure

    An optional Failure object from which this error was constructed.

    Preserves the original failure for round-tripping through the wire format.

    stackTrace?: string

    An optional stack trace string associated with this error.

    When provided, this overrides the native stack property on the error. This is typically used for remote stack traces received over the wire, which may originate from a different language runtime.