Skip to content

API reference / @jsprismarine/packs / ZipError

Class: ZipError ​

Defined in: packages/packs/src/zip.ts:61

Error thrown when bytes are not a readable zip archive.

Extends ​

Constructors ​

Constructor ​

new ZipError(message?): ZipError

Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1080

Parameters ​

message? ​

string

Returns ​

ZipError

Inherited from ​

Error.constructor

Constructor ​

new ZipError(message?, options?): ZipError

Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1080

Parameters ​

message? ​

string

options? ​

ErrorOptions

Returns ​

ZipError

Inherited from ​

Error.constructor

Properties ​

name ​

name: string = 'ZipError'

Defined in: packages/packs/src/zip.ts:62

Overrides ​

Error.name