API reference / @jsprismarine/errors / auth / LoginRefused
Abstract Class: LoginRefused
Defined in: packages/errors/src/auth.ts:10
A login that cannot be attributed to an account. The message is safe to show the player; the cause is the specific reason, and LoginRefused.detail carries its message for the log.
Extends
Constructors
Constructor
new LoginRefused(
message?):LoginRefused
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1080
Parameters
message?
string
Returns
LoginRefused
Inherited from
Constructor
new LoginRefused(
message?,options?):LoginRefused
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1080
Parameters
message?
string
options?
ErrorOptions
Returns
LoginRefused
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='LoginRefused'
Defined in: packages/errors/src/auth.ts:11
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
detail
Get Signature
get detail():
string
Defined in: packages/errors/src/auth.ts:14
What went wrong, for the server log.
Returns
string