API reference / @jsprismarine/structures / StructureFormatError
Class: StructureFormatError
Defined in: packages/structures/src/types.ts:10
Raised when bytes are not a readable structure template.
Extends
Constructors
Constructor
new StructureFormatError(
message?):StructureFormatError
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1080
Parameters
message?
string
Returns
StructureFormatError
Inherited from
Error.constructor
Constructor
new StructureFormatError(
message?,options?):StructureFormatError
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1080
Parameters
message?
string
options?
ErrorOptions
Returns
StructureFormatError
Inherited from
Error.constructor
Properties
name
name:
string='StructureFormatError'
Defined in: packages/structures/src/types.ts:11
Overrides
Error.name