From 81e9c28a7ab35294ea284d403d7924e6c73a6089 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 12 Dec 2022 16:11:00 -0800 Subject: [PATCH] fix error naming again --- utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"; } }