krapio
Library referenceClasses

KrunkerHttpError

a reply with a non 2xx status; the subclasses cover the common ones

Extends

Extended by

Constructors

Constructor

new KrunkerHttpError(
   status, 
   url, 
   body, 
   message?
): KrunkerHttpError;

Parameters

ParameterType
statusnumber
urlstring
bodyunknown
message?string

Returns

KrunkerHttpError

Overrides

KrunkerError.constructor

Properties

PropertyModifierTypeDescriptionInherited from
bodyreadonlyunknownparsed error body, or the raw text when it was no json-
cause?publicunknown-KrunkerError.cause
messagepublicstring-KrunkerError.message
namepublicstring-KrunkerError.name
stack?publicstring-KrunkerError.stack
statusreadonlynumber--
urlreadonlystring--

On this page