From 8053a38e9eccfdc6fc5f880e8cfc03cf88708228 Mon Sep 17 00:00:00 2001 From: Evan Song Date: Wed, 16 Oct 2024 22:07:31 -0700 Subject: [PATCH] chore: delete duplicate pyrofetcherror Signed-off-by: Evan Song --- apps/frontend/src/composables/pyroServers.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/apps/frontend/src/composables/pyroServers.ts b/apps/frontend/src/composables/pyroServers.ts index 240f87966..bf612df62 100644 --- a/apps/frontend/src/composables/pyroServers.ts +++ b/apps/frontend/src/composables/pyroServers.ts @@ -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(path: string, options: PyroFetchOptions = {}): Promise { const config = useRuntimeConfig(); const auth = await useAuth();