api › errors › NoUserFoundError
Caused by querying for a non-existent user. Will be thrown in KPUser.getUser
.
-
↳ NoUserFoundError
+ new NoUserFoundError(msg
: string): NoUserFoundError
Defined in src/errors/NoUserFoundError.ts:9
Returns a new NoUserFoundError - usually with the default error message.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
msg |
string | "No user found!" | The error message. |
Returns: NoUserFoundError
• message: string
Inherited from DuplicateSessionError.message
Defined in node_modules/typescript/lib/lib.es5.d.ts:974
• name: string
Inherited from DuplicateSessionError.name
Defined in node_modules/typescript/lib/lib.es5.d.ts:973
• stack? : string
Inherited from DuplicateSessionError.stack
Defined in node_modules/typescript/lib/lib.es5.d.ts:975
▪ Error: ErrorConstructor
Defined in node_modules/typescript/lib/lib.es5.d.ts:984