API reference / @jsprismarine/script-host / errors / NotImplementedError
Class: NotImplementedError
Defined in: script-host/src/errors.ts:32
A script used a Script API member that the pinned BDS has and JSPrismarine does not implement yet. It reaches the script as an Error named NotImplementedError.
Extends
NotImplemented
Implements
Constructors
Constructor
new NotImplementedError(
name,access?):NotImplementedError
Defined in: script-host/src/errors.ts:42
Parameters
name
The member.
access?
"set"
set for a property's setter, which is implemented apart from its getter.
Returns
NotImplementedError
Overrides
ScriptHostErrors.NotImplemented.constructor
Properties
code
readonlycode:"SCRIPT_HOST_NOT_IMPLEMENTED"='SCRIPT_HOST_NOT_IMPLEMENTED'
Defined in: errors/src/script-host.ts:518
Inherited from
ScriptHostErrors.NotImplemented.code
docs
readonlydocs:"https://jsprismarine.dev/errors/script-host#script-host-not-implemented"='https://jsprismarine.dev/errors/script-host#script-host-not-implemented'
Defined in: errors/src/script-host.ts:519
Inherited from
ScriptHostErrors.NotImplemented.docs
member
readonlymember:string
Defined in: script-host/src/errors.ts:36
Implementation of
module
readonlymodule:string
Defined in: script-host/src/errors.ts:34
Implementation of
name
readonlyname:"NotImplementedError"='NotImplementedError'
Defined in: script-host/src/errors.ts:33
Overrides
ScriptHostErrors.NotImplemented.name
owner
readonlyowner:string
Defined in: script-host/src/errors.ts:35
The class or error; empty for a module-level function.
Implementation of
Accessors
[cataloged]
Get Signature
get [cataloged]():
true
Defined in: errors/src/JSPrismarineError.ts:40
Returns
true
Inherited from
ScriptHostErrors.NotImplemented.[cataloged]
params
Get Signature
get params():
object&Readonly<Record<string,unknown>>
Defined in: errors/src/script-host.ts:528
The placeholder values the message was built from.
Returns
object & Readonly<Record<string, unknown>>
Inherited from
ScriptHostErrors.NotImplemented.params
code
Get Signature
get
staticcode():"SCRIPT_HOST_NOT_IMPLEMENTED"
Defined in: errors/src/script-host.ts:505
Returns
"SCRIPT_HOST_NOT_IMPLEMENTED"
Inherited from
ScriptHostErrors.NotImplemented.code
docs
Get Signature
get
staticdocs():"https://jsprismarine.dev/errors/script-host#script-host-not-implemented"
Defined in: errors/src/script-host.ts:514
Returns
"https://jsprismarine.dev/errors/script-host#script-host-not-implemented"
Inherited from
ScriptHostErrors.NotImplemented.docs
domain
Get Signature
get
staticdomain():"script-host"
Defined in: errors/src/script-host.ts:508
Returns
"script-host"
Inherited from
ScriptHostErrors.NotImplemented.domain
template
Get Signature
get
statictemplate():"{member} from {module} is not implemented"
Defined in: errors/src/script-host.ts:511
Returns
"{member} from {module} is not implemented"
Inherited from
ScriptHostErrors.NotImplemented.template