# CloseCodeClassification
Source: https://docs.maelstrom-ai.co/dev/reference/client/interfaces/closecodeclassification/
Documentation revision: 89a8f5e9d10cedcf0b30376d7846113f06f26120
SDK manifests in this build: @maelstrom-co/react@0.2.1, @maelstrom-co/client@0.2.1, @maelstrom-co/connectors@0.2.1, @maelstrom-co/protocol@0.2.1, @maelstrom-co/engine@0.2.1
These docs follow this source revision. Manifest versions do not prove release compatibility; verify the installed package exports before using an API.

Defined in: packages/connectors/dist/close-code.d.ts:18

How a client should treat a disconnect reported with a given close code.

## Properties

### clean

> `readonly` **clean**: `boolean`

Defined in: packages/connectors/dist/close-code.d.ts:23

True when the code reports an intentional, orderly close (RFC 6455 1000) — no auto-reconnect should fire.

* * *

### retryable

> `readonly` **retryable**: `boolean`

Defined in: packages/connectors/dist/close-code.d.ts:30

False only when retrying cannot fix the rejection (RFC 6455 1008, “Policy Violation”: the server is deliberately refusing this client). Every other code is retryable, although a clean 1000 close independently suppresses the client’s auto-reconnect behavior.
