Skip to content

Commit

Permalink
chore: improve pyrofetch error types
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Song <[email protected]>
  • Loading branch information
ferothefox committed Oct 17, 2024
1 parent 7a595d3 commit 2b785e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/frontend/src/composables/pyroFetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ export async function usePyroFetch<T>(path: string, options: PyroFetchOptions =
401: "Unauthorized",
403: "Forbidden",
404: "Not Found",
405: "Method Not Allowed",
429: "Too Many Requests",
500: "Internal Server Error",
502: "Bad Gateway",
};
Expand Down

0 comments on commit 2b785e6

Please sign in to comment.