fix error naming again

This commit is contained in:
Arthur Lu 2022-12-12 16:11:00 -08:00
parent e33e5ed67c
commit f4a74b9ba5

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