API reference / @jsprismarine/content / ContentError
Class: ContentError
Defined in: packages/content/src/errors.ts:6
Every failure this package raises. A content failure is a load-time programming or data error, never a condition a tick loop recovers from, so the runtime fails the load instead of returning a sentinel.
Extends
Extended by
Constructors
Constructor
new ContentError(
message?):ContentError
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1080
Parameters
message?
string
Returns
ContentError
Inherited from
Error.constructor
Constructor
new ContentError(
message?,options?):ContentError
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1080
Parameters
message?
string
options?
ErrorOptions
Returns
ContentError
Inherited from
Error.constructor
Properties
name
name:
string='ContentError'
Defined in: packages/content/src/errors.ts:7
Overrides
Error.name