pub enum NodeServerError {
Show 56 variants
InvalidEndpoint,
InvalidAccessToken,
InvalidApiListen(SocketAddr),
InvalidBridgeListen(SocketAddr),
InvalidBridgeToken,
BridgeUnderlayRequiresBridgeListen,
BridgeUnderlayRequiresBridgeToken,
InvalidBridgeUnderlayToken,
InvalidBridgeUnderlayKey,
InvalidCallHome(SocketAddr),
CallHomeTransport(Error),
InvalidStatePath(String),
InvalidHarnessMcpHelper,
InvalidNetworkAllowlistCatalogPath(String),
NetworkAllowlistCatalogIo(Error),
InvalidNetworkAllowlistCatalogEntry {
line: usize,
message: String,
},
InvalidNetworkAllowlistCatalog(String),
NetworkAllowlistCatalogCapacity {
max: usize,
},
LocalStateDirectoryUnavailable,
LocalRuntimeDirectoryUnavailable,
DurableState(Error),
NoWorkspaces,
InvalidWorkspaceRoot {
workspace_id: WorkspaceId,
path: String,
message: String,
},
DuplicateWorkspaceId(WorkspaceId),
DuplicateWorkspaceRoot {
first: WorkspaceId,
second: WorkspaceId,
root: String,
},
ManagedWorktreeProfileRequired(WorkspaceId),
ManagedWorktreeProfileModeMismatch(WorkspaceId),
DuplicateManagedWorktreeProfile {
workspace_id: WorkspaceId,
profile_id: WorktreeProfileId,
},
ManagedWorktreeProfileCapacity {
workspace_id: WorkspaceId,
max: usize,
},
InvalidManagedWorktreeProfile {
workspace_id: WorkspaceId,
profile_id: WorktreeProfileId,
message: String,
},
DuplicateEnvironmentProfile(SpawnEnvironmentProfileId),
EnvironmentProfileProviderUnavailable(AgentId),
EnvironmentProfileCapacity {
max: usize,
},
DuplicateNativeEnvironmentProfile(String),
NativeEnvironmentProfile(String),
InvalidSessionEnvironmentRoot,
SessionEnvironmentMaterializerRequired,
SessionEnvironmentMaterializer,
BundleCatalog(String),
DeliveryStore(String),
ContextPackStore,
Registry(String),
ProviderContractManifest(String),
Io(Error),
HttpApi(Error),
BridgeApi(Error),
Frame(FrameError),
Handshake(String),
AuthenticationTimedOut,
Authentication(String),
IncarnationIdentity(String),
PreauthClosed,
AuthenticatedConnectionLimit,
SignalStreamClosed,
ShutdownDispatch(NodeFailure),
ShutdownTimedOut {
active_native_sessions: usize,
},
}Variants§
InvalidEndpoint
InvalidAccessToken
InvalidApiListen(SocketAddr)
InvalidBridgeListen(SocketAddr)
InvalidBridgeToken
BridgeUnderlayRequiresBridgeListen
BridgeUnderlayRequiresBridgeToken
InvalidBridgeUnderlayToken
InvalidBridgeUnderlayKey
InvalidCallHome(SocketAddr)
CallHomeTransport(Error)
InvalidStatePath(String)
InvalidHarnessMcpHelper
InvalidNetworkAllowlistCatalogPath(String)
NetworkAllowlistCatalogIo(Error)
InvalidNetworkAllowlistCatalogEntry
InvalidNetworkAllowlistCatalog(String)
NetworkAllowlistCatalogCapacity
DurableState(Error)
NoWorkspaces
InvalidWorkspaceRoot
DuplicateWorkspaceId(WorkspaceId)
DuplicateWorkspaceRoot
ManagedWorktreeProfileRequired(WorkspaceId)
ManagedWorktreeProfileModeMismatch(WorkspaceId)
DuplicateManagedWorktreeProfile
ManagedWorktreeProfileCapacity
InvalidManagedWorktreeProfile
DuplicateEnvironmentProfile(SpawnEnvironmentProfileId)
EnvironmentProfileCapacity
DuplicateNativeEnvironmentProfile(String)
NativeEnvironmentProfile(String)
InvalidSessionEnvironmentRoot
SessionEnvironmentMaterializerRequired
SessionEnvironmentMaterializer
BundleCatalog(String)
DeliveryStore(String)
ContextPackStore
Registry(String)
ProviderContractManifest(String)
Io(Error)
HttpApi(Error)
BridgeApi(Error)
Frame(FrameError)
Handshake(String)
AuthenticationTimedOut
Authentication(String)
IncarnationIdentity(String)
PreauthClosed
AuthenticatedConnectionLimit
SignalStreamClosed
ShutdownDispatch(NodeFailure)
ShutdownTimedOut
Trait Implementations§
Source§impl Debug for NodeServerError
impl Debug for NodeServerError
Source§impl Display for NodeServerError
impl Display for NodeServerError
Source§impl Error for NodeServerError
impl Error for NodeServerError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for NodeServerError
impl From<Error> for NodeServerError
Source§impl From<FrameError> for NodeServerError
impl From<FrameError> for NodeServerError
Source§fn from(source: FrameError) -> Self
fn from(source: FrameError) -> Self
Converts to this type from the input type.
Source§impl From<NetworkAllowlistCatalogError> for NodeServerError
impl From<NetworkAllowlistCatalogError> for NodeServerError
Source§fn from(error: NetworkAllowlistCatalogError) -> Self
fn from(error: NetworkAllowlistCatalogError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for NodeServerError
impl !UnwindSafe for NodeServerError
impl Freeze for NodeServerError
impl Send for NodeServerError
impl Sync for NodeServerError
impl Unpin for NodeServerError
impl UnsafeUnpin for NodeServerError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more