Skip to content

API reference / @jsprismarine/content / FlattenError

Class: FlattenError ​

Defined in: packages/content/src/flatten.ts:78

Error thrown when a table cannot be flattened.

Extends ​

Constructors ​

Constructor ​

new FlattenError(message?): FlattenError

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

Parameters ​

message? ​

string

Returns ​

FlattenError

Inherited from ​

ContentError.constructor

Constructor ​

new FlattenError(message?, options?): FlattenError

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

Parameters ​

message? ​

string

options? ​

ErrorOptions

Returns ​

FlattenError

Inherited from ​

ContentError.constructor

Properties ​

name ​

name: string = 'FlattenError'

Defined in: packages/content/src/flatten.ts:79

Overrides ​

ContentError.name