API reference / @jsprismarine/errors / nethernet / JoinRefusedError
Abstract Class: JoinRefusedError
Defined in: packages/errors/src/nethernet.ts:17
A failed POST /v1/join/<networkId>, with what the server answered.
Extends
Constructors
Constructor
new JoinRefusedError(
message?):JoinRefusedError
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1080
Parameters
message?
string
Returns
JoinRefusedError
Inherited from
Constructor
new JoinRefusedError(
message?,options?):JoinRefusedError
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1080
Parameters
message?
string
options?
ErrorOptions
Returns
JoinRefusedError
Inherited from
Properties
code
abstractreadonlycode:string
Defined in: packages/errors/src/JSPrismarineError.ts:36
The catalog code, such as LEVELDB_DATABASE_LOCKED. It never changes between releases.
Inherited from
docs
abstractreadonlydocs:string
Defined in: packages/errors/src/JSPrismarineError.ts:37
The address of this error's entry in the error reference.
Inherited from
name
name:
string='JoinRefusedError'
Defined in: packages/errors/src/nethernet.ts:18
Overrides
JSPrismarineError.name
params
abstractreadonlyparams:Readonly<Record<string,unknown>>
Defined in: packages/errors/src/JSPrismarineError.ts:38
The placeholder values the message was built from.
Inherited from
Accessors
[cataloged]
Get Signature
get [cataloged]():
true
Defined in: packages/errors/src/JSPrismarineError.ts:40
Returns
true
Inherited from
body
Get Signature
get body():
string
Defined in: packages/errors/src/nethernet.ts:26
The response body, empty when the server sent none.
Returns
string
status
Get Signature
get status():
number
Defined in: packages/errors/src/nethernet.ts:21
The HTTP status the server answered with.
Returns
number