<!--
{
  "availability" : [

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

# ValueNotObjectError

An error a validator emits when a value isn’t an object.

```
interface ValueNotObjectError
```

## Overview

Extends `ValidationError`.

## Topics

### Instance Properties

[`attribute Any value;`](/documentation/CKToolJS/ValueNotObjectError/value)

The value that failed validation.

## Relationships

### Inherited By

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

---

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)