# CloseCodeClassification
Source: https://docs.maelstrom-ai.co/dev/reference/connectors/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/src/close-code.ts:19](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/connectors/src/close-code.ts#L19)

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

## Properties

### clean

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

Defined in: [packages/connectors/src/close-code.ts:24](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/connectors/src/close-code.ts#L24)

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/src/close-code.ts:31](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/connectors/src/close-code.ts#L31)

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.
