Skip to content

Commit

Permalink
feat: FetchError에 status 필드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
pakxe committed Aug 8, 2024
1 parent 9196b59 commit 890ee2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/src/types/fetchErrorType.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import {Method} from '@apis/fetcher';
import {ServerError} from 'ErrorProvider';

export type FetchErrorType = Error & {
requestBody: string;
status: number;
endpoint: string;
errorBody: ServerError;
method: Method;
};

0 comments on commit 890ee2a

Please sign in to comment.