<!--
{
  "availability" : [

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

# ValueNotConvertibleToTypeError

The base class of errors related to type validation or coercion.

```
interface ValueNotConvertibleToTypeError
```

## Overview

Extends `ValidationError`.

## Topics

### Instance Properties

[`attribute string typeDescription;`](/documentation/CKToolJS/ValueNotConvertibleToTypeError/typeDescription)

The name of the type that the value should have been.

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

The value that failed validation.

## Relationships

### Inherits From

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

### 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)