Skip to main content

EnkaNetworkError

class EnkaNetworkError extends Error

constructor

new EnkaNetworkError(message, statusCode, statusMessage)
PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
messagestring
statusCodenumber
statusMessagestring

Properties

statusCode

HTTP response status code from Enka.Network

Type: number


statusMessage

The message of the status code

Type: string