Skip to content
This repository has been archived by the owner on Aug 6, 2020. It is now read-only.

Latest commit

 

History

History
80 lines (43 loc) · 1.96 KB

errors.nouserfounderror.md

File metadata and controls

80 lines (43 loc) · 1.96 KB

apierrorsNoUserFoundError

Class: NoUserFoundError

Caused by querying for a non-existent user. Will be thrown in KPUser.getUser.

Hierarchy

  • Error

    NoUserFoundError

Index

Constructors

Properties

Constructors

constructor

+ 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

Properties

message

message: string

Inherited from DuplicateSessionError.message

Defined in node_modules/typescript/lib/lib.es5.d.ts:974


name

name: string

Inherited from DuplicateSessionError.name

Defined in node_modules/typescript/lib/lib.es5.d.ts:973


Optional stack

stack? : string

Inherited from DuplicateSessionError.stack

Defined in node_modules/typescript/lib/lib.es5.d.ts:975


Static Error

Error: ErrorConstructor

Defined in node_modules/typescript/lib/lib.es5.d.ts:984