fix error naming again

This commit is contained in:
Arthur Lu 2022-12-12 16:11:00 -08:00
parent 9cef571576
commit 81e9c28a7a

View File

@ -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";
}
}