APIError

APIError

new APIError(message, statusCode)

Parameters

Name Type Description
message
string
statusCode
number

Extends

  • Error

Instance Properties

message

message: string

Error message

Type

  • string

statusCode

statusCode: number

HTTP Status Code

Type

  • number