Enum Worker SdkError
Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
Referenced types: String, Box, WorkerSdkError, Error
Error returned by worker SDK callbacks and runtime helpers.
Variants
InvalidInput(String)
Referenced types: String
Invalid host-provided input.
Callback(String)
Referenced types: String
Worker callback failed.
Transport(String)
Referenced types: String
Worker transport failed.
Downstream
An unchanged downstream continuation failure, preserving its original display. Propagate this error to retain provenance; constructing a new error represents a distinct plugin failure. The host checks the invocation’s continuation ID.
Fields
source: Box<WorkerSdkError>
Original SDK error, with unchanged execution/reporting semantics.
continuation_id: String
Host-issued continuation that returned the failure.
Serialization(Error)
Referenced types: Error
JSON serialization failed.
Trait Implementations
impl Debug for WorkerSdkError
Referenced types: Debug, WorkerSdkError
fmt
Referenced types: fmt, Formatter, Result
impl Display for WorkerSdkError
Referenced types: Display, WorkerSdkError
fmt
Referenced types: fmt, Formatter, Result
impl Error for WorkerSdkError
Referenced types: Error, WorkerSdkError
source
Referenced types: source, Option, Error
description
Referenced types: description, str
cause
Referenced types: cause, Option, Error
provide
Referenced types: provide, Request
impl From<ConversionError> for WorkerSdkError
Referenced types: From, WorkerSdkError
from
Referenced types: from
impl From< Error> for WorkerSdkError
Referenced types: From, Error, WorkerSdkError
from
impl From<WorkerSdkError> for PluginError
Referenced types: From, WorkerSdkError, PluginError
from
Referenced types: from, WorkerSdkError
Map worker author errors to shared configuration, serialization, or registration errors.