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#
| Parameter | Type |
|---|---|
message? | string |
Returns#
SilkBundleError
Inherited from#
Error.constructor
Constructor#
new SilkBundleError(message?: string, options?: ErrorOptions): SilkBundleError;
Parameters#
| Parameter | Type |
|---|---|
message? | string |
options? | ErrorOptions |
Returns#
SilkBundleError
Inherited from#
Error.constructor
Properties#
| Property | Type | Default value | Overrides | Defined in |
|---|---|---|---|---|
name | string | 'SilkBundleError' | Error.name | packages/pixi-silk/src/i18n/bundle.ts:92 |