Search
Preparing search index...
The search index is not available
@2pg/oauth
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"errors/api"
APIError
Class APIError
Hierarchy
Error
APIError
Index
Constructors
constructor
Properties
message
name
stack
status
Code
Error
Constructors
constructor
new APIError
(
statusCode
:
number
,
...
params
:
any
[]
)
:
APIError
Parameters
statusCode:
number
Rest
...
params:
any
[]
Returns
APIError
Properties
message
message
:
string
name
name
:
string
Optional
stack
stack
:
string
status
Code
status
Code
:
number
Static
Error
Error
:
ErrorConstructor
Globals
"client"
"errors/api"
"types/connection"
"types/guild"
"types/user"
APIError
constructor
message
name
stack
status
Code
Error
errors
Generated using
TypeDoc