# EffectErrorCode

type in `@dioramajs/diorama/effects`

```ts
import type { EffectErrorCode } from '@dioramajs/diorama/effects'
```

Codes of `EffectError`.

```ts
type EffectErrorCode = 'EFFECT_DEFINITION' | 'EFFECT_UNKNOWN' | 'EFFECT_LOAD' | 'EFFECT_SETUP' | 'EFFECT_UPDATE' | 'EFFECT_TARGET' | 'EFFECT_MEDIA' | 'EFFECT_CORS' | 'EFFECT_COMPILE' | 'EFFECT_PARAM' | 'RENDER_UNAVAILABLE' | 'RENDER_LOST'
```

Also exported from `@dioramajs/effects`.

Defined in [packages/effects/src/types.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/effects/src/types.ts#L1036).
