# DuplicateCachedPluginError

Two plugins wrapped in cached() share a name, which picks their cache files.

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

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

Two plugins wrapped in `cached()` share a name, which picks their cache files.

## Extends

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

## Constructors

### Constructor

```ts
constructor(plugin: string);
```

Defined in: [errors/duplicate-cached-plugin-error.ts:7](https://github.com/aayushbtw/tomekit/blob/main/packages/tomekit/src/errors/duplicate-cached-plugin-error.ts#L7)

## Properties

### name

```ts
name: string;
```

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