[PR #70] [MERGED] Split isNetworkError and isServerError up for better handling #61

Closed
opened 2026-05-23 08:35:36 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/appy-one/acebase-client/pull/70
Author: @appy-one
Created: 3/28/2025
Status: Merged
Merged: 3/28/2025
Merged by: @appy-one

Base: masterHead: fix/use-own-property-for-server-errors


📝 Commits (1)

  • b2abc6f Split isNetworkError and isServerError up for better handling

📊 Changes

2 files changed (+12 additions, -8 deletions)

View changed files

📝 src/api-web.ts (+7 -7)
📝 src/request/error.ts (+5 -1)

📄 Description

Inclusion of the error code responses into isNetworkError created unwanted side effects, so I decided to move them to isServerError to handle them separately. These 2 combined are now "retryable errors"


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/appy-one/acebase-client/pull/70 **Author:** [@appy-one](https://github.com/appy-one) **Created:** 3/28/2025 **Status:** ✅ Merged **Merged:** 3/28/2025 **Merged by:** [@appy-one](https://github.com/appy-one) **Base:** `master` ← **Head:** `fix/use-own-property-for-server-errors` --- ### 📝 Commits (1) - [`b2abc6f`](https://github.com/appy-one/acebase-client/commit/b2abc6fb296362a300601efa69763343bd8a076d) Split `isNetworkError` and `isServerError` up for better handling ### 📊 Changes **2 files changed** (+12 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `src/api-web.ts` (+7 -7) 📝 `src/request/error.ts` (+5 -1) </details> ### 📄 Description Inclusion of the error code responses into `isNetworkError` created unwanted side effects, so I decided to move them to `isServerError` to handle them separately. These 2 combined are now "retryable errors" --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-23 08:35:36 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/acebase-client#61
No description provided.