ArchiveError

works.iterative.claude.core.log.ArchiveError
enum ArchiveError extends Throwable

Errors surfaced by ConversationArchive operations. Extends Throwable so an implementation may also let it propagate through effect types whose error channel is Throwable.

Attributes

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

Members list

Type members

Enum entries

final case class ArchiveIOError(detail: String, cause: Throwable)

A filesystem operation underlying an archive read or mirror failed.

A filesystem operation underlying an archive read or mirror failed.

Attributes

final case class CorruptTranscript(sessionId: String)

A transcript could not be paged: scanning back a whole scan budget from the page end reached no line boundary, so the transcript is corrupt or carries an oversized line. Paging stops rather than buffering unbounded bytes.

A transcript could not be paged: scanning back a whole scan budget from the page end reached no line boundary, so the transcript is corrupt or carries an oversized line. Paging stops rather than buffering unbounded bytes.

Attributes

final case class InvalidPageSize(limit: Int)

A requested page size was outside the accepted range: it must be a positive count no larger than PageSize.Max, so no read is attempted for a non-positive or absurd page.

A requested page size was outside the accepted range: it must be a positive count no larger than PageSize.Max, so no read is attempted for a non-positive or absurd page.

Attributes

final case class InvalidSessionId(value: String)

A session or sub-agent id did not match the accepted id shape, so no path was ever derived from it.

A session or sub-agent id did not match the accepted id shape, so no path was ever derived from it.

Attributes

final case class PageSourceMoved(sessionId: String)

A page cursor was minted against a transcript that no longer is the session's resolved source (e.g. the vendor tree was pruned between pages, so the mirror now wins). The offset would index a different file, so paging stops rather than reading it; restart from the latest page.

A page cursor was minted against a transcript that no longer is the session's resolved source (e.g. the vendor tree was pruned between pages, so the mirror now wins). The offset would index a different file, so paging stops rather than reading it; restart from the latest page.

Attributes

final case class SessionNotFound(sessionId: String)

No main transcript exists for the requested session under the configured vendor projects directory and cwd encoding.

No main transcript exists for the requested session under the configured vendor projects directory and cwd encoding.

Attributes

final case class SubAgentNotFound(sessionId: String, parentToolUseId: String)

No sub-agent transcript records the given parent tool_use id in the session's subagents directory.

No sub-agent transcript records the given parent tool_use id in the session's subagents directory.

Attributes