Skip to main content

Module Error

Module Error 

Source
Expand description

§Vine::Error

Canonical, structured error types for every operation that flows through Vine - the gRPC IPC layer that connects Mountain, Cocoon, and Air.

§Error Categories

§Connection Errors

  • ClientNotConnected: Sidecar not in connection pool
  • ConnectionFailed: Unable to establish connection
  • ConnectionLost: Established connection was lost

§RPC Errors

  • RPCError: Generic gRPC status error
  • RequestTimeout: Request exceeded configured timeout
  • RequestCanceled: Request was explicitly canceled

§Serialization Errors

  • SerializationError: JSON serialization/deserialization failure
  • MessageTooLarge: Message exceeds size limits
  • InvalidMessageFormat: Message format validation failed

§Transport Errors

  • TonicTransportError: Low-level tonic transport failure
  • InvalidUri: Invalid URI format
  • AddressParseError: Invalid socket address format

§Internal Errors

  • InternalLockError: Mutex poisoned (panic in another thread)
  • InvalidState: Invalid internal state detected

Enums§

VineError
A comprehensive error enum for the Vine IPC layer.

Type Aliases§

Result
Convenience Result alias for Vine operations.