Errors and recovery
VorivoxError carries a code and message. Do not classify errors by translated wording.
Codes
MANIFEST: input; ENVIRONMENT: no WebSocket; AUTH_TIMEOUT/AUTH_REJECTED: authentication; TRANSPORT/CONNECTION_CLOSED: channel; NOT_CONNECTED: premature call; ARGUMENT: parameters; UNSUPPORTED: capability; BACKPRESSURE/MESSAGE_SIZE: buffers; SESSION_ENDED: no active session; FRESH_SESSION_REQUIRED: old launch cannot restart; LISTENER: event handler.
Response
Show clear status, stop input and retain sanitized diagnostics. Never enable mock, change bridge addresses or resend complete over a new socket. The platform creates another launch.
Promises
Await connect and handle rejection. Subscribe to error for later failures. ignored reports malformed messages without resetting scores. Disconnect when disposing the application. Asynchronous handlers must handle their own rejected promises.