<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "CKToolJS",
  "identifier" : "/documentation/CKToolJS/LengthGreaterThanMaxError",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "CKTool JS"
    ],
    "preciseIdentifier" : "cl/LengthGreaterThanMaxError"
  },
  "title" : "LengthGreaterThanMaxError"
}
-->

# LengthGreaterThanMaxError

An error a validator emits when the length property of the value given is greater than the allowed maximum.

```
interface LengthGreaterThanMaxError
```

## Overview

Extends `LengthError`.

## Topics

### Instance Properties

[`attribute number maximum;`](/documentation/CKToolJS/LengthGreaterThanMaxError/maximum)

The maximum value (inclusive) for the tested length property.

## Relationships

### Inherited By

[`LengthError`](/documentation/CKToolJS/LengthError)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)