-
Notifications
You must be signed in to change notification settings - Fork 0
[Feat] Error & Loading Interceptors #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* [feat] loading interceptor and service * [feat] loading spinner in sandbox * [feat] loading minimum delay, avoid fouc * [cleanup] remove unused import
|
||
public class ApiException(int statusCode, string message, string? details) | ||
{ | ||
public int StatusCode { get; set; } = statusCode; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should nest the exceptions incase we want to abstract the backend logic. i.e. service exception, repo exceptiion, etc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should set up the api to utilize swagger or something else for debugging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Implements #7 and #10
There are about 400 lines changed. The rest are package-lock.json reset from a dependency conflict.
Error Interceptor:
Screen.Recording.2025-10-02.at.2.10.24.PM.mov
Loading Interceptor:
Screen.Recording.2025-10-02.at.3.50.45.PM.mov