You've already forked AstralRinth
forked from didirus/AstralRinth
fix: error handling improvements (#3797)
* fix: error handling improvements * refactor: error info cards * refactor: PyroError -> ModrinthError * fix: lint * fix: idiot --------- Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
This commit is contained in:
@@ -54,6 +54,6 @@ export class ModrinthServerError extends Error {
|
||||
}
|
||||
|
||||
super(errorMessage)
|
||||
this.name = 'PyroServersFetchError'
|
||||
this.name = 'ModrinthServersFetchError'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,6 @@ export class ModrinthServersFetchError extends Error {
|
||||
public originalError?: Error,
|
||||
) {
|
||||
super(message)
|
||||
this.name = 'PyroFetchError'
|
||||
this.name = 'ModrinthFetchError'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user