Revert "fix: error handling improvements (#3797)"

This reverts commit 706976439d.
This commit is contained in:
Prospector
2025-07-07 17:37:43 -07:00
parent e4e77dc0d2
commit e0cde2d6ff
7 changed files with 198 additions and 398 deletions

View File

@@ -54,6 +54,6 @@ export class ModrinthServerError extends Error {
}
super(errorMessage)
this.name = 'ModrinthServersFetchError'
this.name = 'PyroServersFetchError'
}
}

View File

@@ -5,6 +5,6 @@ export class ModrinthServersFetchError extends Error {
public originalError?: Error,
) {
super(message)
this.name = 'ModrinthFetchError'
this.name = 'PyroFetchError'
}
}