Skip to content
pixi-silk
GitHub repository
Class

SilkBundleError

import { SilkBundleError } from 'pixi-silk/i18n';

Thrown when a buffer is not a .silk bundle this runtime can read.

Extends#

  • Error

Constructors#

Constructor#

new SilkBundleError(message?: string): SilkBundleError;

Parameters#

ParameterType
message?string

Returns#

SilkBundleError

Inherited from#

Error.constructor

Constructor#

new SilkBundleError(message?: string, options?: ErrorOptions): SilkBundleError;

Parameters#

ParameterType
message?string
options?ErrorOptions

Returns#

SilkBundleError

Inherited from#

Error.constructor

Properties#

PropertyTypeDefault valueOverridesDefined in
namestring'SilkBundleError'Error.namepackages/pixi-silk/src/i18n/bundle.ts:92