ExternalRuntimeTransport.Transport.Error exception
(ExternalRuntimeTransport v0.1.0)
Copy Markdown
View Source
Structured transport error with a normalized reason and debugging context.
Summary
Functions
Builds a bridge-protocol error.
Builds a bridge-remote error.
Builds a buffer overflow error with preview metadata.
Builds a call-exit error.
Builds a command-not-found error.
Builds a cwd-not-found error.
Builds an invalid-options error.
Builds a not-connected error.
Builds a send failure error.
Builds a startup-failed error.
Builds a timeout error.
Builds a generic transport error.
Builds a transport-stopped error.
Builds an unsupported-capability error.
Types
@type reason() :: :not_connected | :timeout | :transport_stopped | {:unsupported_capability, atom(), atom()} | {:bridge_protocol_error, term()} | {:bridge_remote_error, term(), term()} | {:buffer_overflow, pos_integer(), pos_integer()} | {:send_failed, term()} | {:call_exit, term()} | {:command_not_found, String.t() | atom()} | {:cwd_not_found, String.t()} | {:invalid_options, term()} | {:startup_failed, term()} | term()
Functions
Builds a bridge-protocol error.
Builds a bridge-remote error.
@spec buffer_overflow(pos_integer(), pos_integer(), binary(), map()) :: t()
Builds a buffer overflow error with preview metadata.
Builds a call-exit error.
Builds a command-not-found error.
Builds a cwd-not-found error.
Builds an invalid-options error.
@spec not_connected() :: t()
Builds a not-connected error.
Builds a send failure error.
Builds a startup-failed error.
@spec timeout() :: t()
Builds a timeout error.
Builds a generic transport error.
@spec transport_stopped() :: t()
Builds a transport-stopped error.
Builds an unsupported-capability error.