mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 09:04:55 +00:00
11 lines
221 B
TypeScript
11 lines
221 B
TypeScript
export class ModrinthServersFetchError extends Error {
|
|
constructor(
|
|
message: string,
|
|
public statusCode?: number,
|
|
public originalError?: Error,
|
|
) {
|
|
super(message)
|
|
this.name = 'PyroFetchError'
|
|
}
|
|
}
|