diff --git a/utils.js b/utils.js index 2238086..0a73118 100644 --- a/utils.js +++ b/utils.js @@ -1,14 +1,14 @@ class ResponseError extends Error { constructor(message) { super(message); - this.name = "ValidationError"; + this.name = "ResponseError"; } } class NetworkError extends Error { constructor(message) { super(message); - this.name = "ValidationError"; + this.name = "NetworkError"; } }