# UnserializableValueError

Content holds a value that cannot be written into a module, eg a function or a cycle.

> Every page: https://tomekit.aayush.cv/llms.txt

Defined in: [errors/unserializable-value-error.ts:4](https://github.com/aayushbtw/tomekit/blob/main/packages/tomekit/src/errors/unserializable-value-error.ts#L4)

Content holds a value that cannot be written into a module, eg a function or a cycle.

## Extends

- [`TransformError`](https://tomekit.aayush.cv/api-tomekit/classes/TransformError/index.md)

## Constructors

### Constructor

```ts
constructor(what: string, at: string);
```

Defined in: [errors/unserializable-value-error.ts:8](https://github.com/aayushbtw/tomekit/blob/main/packages/tomekit/src/errors/unserializable-value-error.ts#L8)

`what` reads as a noun phrase, eg `a function`; `at` is the key path, or `""` for the root.

## Properties

### name

```ts
name: string;
```

Defined in: [errors/unserializable-value-error.ts:5](https://github.com/aayushbtw/tomekit/blob/main/packages/tomekit/src/errors/unserializable-value-error.ts#L5)
