Skip to content

Commit

Permalink
chore: delete duplicate pyrofetcherror
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Song <theevansong@gmail.com>
  • Loading branch information
ferothefox committed Oct 17, 2024
1 parent 280a368 commit 8053a38
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions apps/frontend/src/composables/pyroServers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,6 @@ interface PyroFetchOptions {
retry?: boolean;
}

class PyroFetchError extends Error {
constructor(
message: string,
public statusCode?: number,
public originalError?: Error,
) {
super(message);
this.name = "PyroFetchError";
}
}

async function PyroFetch<T>(path: string, options: PyroFetchOptions = {}): Promise<T> {
const config = useRuntimeConfig();
const auth = await useAuth();
Expand Down

0 comments on commit 8053a38

Please sign in to comment.