From f4a74b9ba586d599b2bb503f8a7bb3e929ece4d9 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"; } }