class OperationNotFoundError
extends TrellisError<OperationNotFoundErrorData>

Error raised when a requested Trellis operation id cannot be found.

Constructors

OperationNotFoundError(options:
ErrorOptions
& { operationId: string; message?: string; context?: Record<string, unknown>; id?: string; traceId?: string; }
)

Properties

readonly
name: "OperationNotFoundError"
readonly
operationId: string

Methods

toSerializable(): OperationNotFoundErrorData

Serializes error to a plain object.

Usage

import { OperationNotFoundError } from "trellis/index.ts";