HTTPError
Index
Constructor
InvalidURL
readonlycreate
Return a new CustomError
readonlyerrorName
The model name constant. Can be useful for switch
/ case
statements.
readonlyhasInstance
Predicate that returns true
when anyValue
is a Model
The implementation compares anyValue.name === Module.errorName
NetworkError
NetworkError constructor
readonlycreate
Return a new CustomError
readonlyerrorName
The model name constant. Can be useful for switch
/ case
statements.
readonlyhasInstance
Predicate that returns true
when anyValue
is a Model
The implementation compares anyValue.name === Module.errorName
ParserError
ParserError constructor
readonlycreate
Return a new CustomError
readonlyerrorName
The model name constant. Can be useful for switch
/ case
statements.
readonlyhasInstance
Predicate that returns true
when anyValue
is a Model
The implementation compares anyValue.name === Module.errorName
Other
InvalidURL
An error when url passed is invalid
readonlyinput
NetworkError
A network error when fetch
fails
ParserError
A parsing error when the body cannot be parsed
InvalidURL constructor