docs: add docstring to HTTPError

This commit is contained in:
Lewdcario
2018-08-30 16:31:22 -06:00
parent c63f15c8bc
commit f75b80d96b
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
/**
* Represents a HTTP error from a request.
* @extends Error
*/
class HTTPError extends Error {
constructor(message, name, code, method, path) {
super(message);