[API reference](https://jsprismarine.dev/api/index.md) / [@jsprismarine/errors](https://jsprismarine.dev/api/@jsprismarine/errors/index.md) / prismarine/addon

# prismarine/addon

## Classes

- [AddonIntegrityError](https://jsprismarine.dev/api/@jsprismarine/errors/prismarine/addon/classes/AddonIntegrityError.md)

## Variables

### PrismarineAddonErrors

> `const` **PrismarineAddonErrors**: `Readonly`\<\{ `AddonAlreadyInstalled`: *typeof* `AddonAlreadyInstalled`; `AddonDownloadFailed`: *typeof* `AddonDownloadFailed`; `AddonHashMismatch`: *typeof* `AddonHashMismatch`; `AddonNeedsNewerServer`: *typeof* `AddonNeedsNewerServer`; `AddonNotInstalled`: *typeof* `AddonNotInstalled`; `AddonPathMissing`: *typeof* `AddonPathMissing`; `AddonPathNotPack`: *typeof* `AddonPathNotPack`; `AddonSourceInsideTarget`: *typeof* `AddonSourceInsideTarget`; `AddonTooLarge`: *typeof* `AddonTooLarge`; `AddonVersionDiffers`: *typeof* `AddonVersionDiffers`; `AddonVersionNotFound`: *typeof* `AddonVersionNotFound`; `InvalidAddonKey`: *typeof* `InvalidAddonKey`; `InvalidAddonPack`: *typeof* `InvalidAddonPack`; `InvalidAddonsFile`: *typeof* `InvalidAddonsFile`; `InvalidAddonSpec`: *typeof* `InvalidAddonSpec`; `NoAddonIndex`: *typeof* `NoAddonIndex`; \}\>

Defined in: [packages/errors/src/prismarine/addon.ts:672](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/errors/src/prismarine/addon.ts#L672)

The errors the addon installer of `@jsprismarine/prismarine` throws.
