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();