Skip to content

API reference / @jsprismarine/packs / BrarchiveError

Class: BrarchiveError ​

Defined in: packages/packs/src/brarchive.ts:24

Error thrown when bytes are not a readable brarchive.

Extends ​

Constructors ​

Constructor ​

new BrarchiveError(message?): BrarchiveError

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

Parameters ​

message? ​

string

Returns ​

BrarchiveError

Inherited from ​

Error.constructor

Constructor ​

new BrarchiveError(message?, options?): BrarchiveError

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

Parameters ​

message? ​

string

options? ​

ErrorOptions

Returns ​

BrarchiveError

Inherited from ​

Error.constructor

Properties ​

name ​

name: string = 'BrarchiveError'

Defined in: packages/packs/src/brarchive.ts:25

Overrides ​

Error.name