UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

19 lines • 917 B
export class SocketEventQueueStallError extends Error { constructor(pendingBytes, stallMs) { super(`socket event queue stalled: peer did not drain ${pendingBytes} queued bytes within ${stallMs}ms`); this.name = "SocketEventQueueStallError"; this.pendingBytes = pendingBytes; this.stallMs = stallMs; } } export class SocketEventQueueOverflowError extends Error { constructor(queuedBytes, incomingBytes, maxQueueBytes, incomingPreview) { super(`socket event queue overflow: ${queuedBytes} queued + ${incomingBytes} incoming > ${maxQueueBytes} (incoming: ${incomingPreview})`); this.name = "SocketEventQueueOverflowError"; this.queuedBytes = queuedBytes; this.incomingBytes = incomingBytes; this.maxQueueBytes = maxQueueBytes; this.incomingPreview = incomingPreview; } } //# sourceMappingURL=socket-event-queue-errors.js.map