Codex.TransportError exception (Codex SDK v0.3.0)

View Source

Raised when the codex executable exits unexpectedly.

Summary

Types

t()

@type t() :: %Codex.TransportError{
  __exception__: true,
  exit_status: integer(),
  message: String.t(),
  stderr: String.t() | nil
}

Functions

new(status, opts \\ [])

@spec new(
  integer(),
  keyword()
) :: t()