TranscriptFailure

works.iterative.claude.ui.transcript.TranscriptFailure
See theTranscriptFailure companion object

Why a transcript could not be delivered.

A reader who asked for a session and got nothing needs to know which of these happened — a mistyped id reads very differently from an archive that cannot be opened. Each case carries the words to show and the HTTP status a host answers with; the status is a plain number, so describing it costs the contract no server dependency.

Attributes

Companion
object
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

The request named no session.

The request named no session.

Attributes

final case class SessionNotFound(sessionId: String)

No transcript exists for the session that was asked for.

No transcript exists for the session that was asked for.

Attributes

final case class UnacceptableSessionId(sessionId: String)

The request named a session in a shape this contract will not carry.

The request named a session in a shape this contract will not carry.

Attributes

The transcript exists but could not be read.

The transcript exists but could not be read.

Carries nothing on purpose. Why a read failed is the host's own business — a path it could not open, a device that went away — and none of that is the asker's to know. A host that wants the detail logs it where it has the effects to do so.

Attributes

Value members

Concrete methods

def message: String
Extension method from TranscriptFailure

What to tell the reader.

What to tell the reader.

Attributes

def status: Int
Extension method from TranscriptFailure

The HTTP status a host answers this refusal with.

The HTTP status a host answers this refusal with.

Attributes