Remove data prop from RestApiError type

This commit is contained in:
Chi-Hsuan Huang 2022-05-10 16:53:06 +08:00
parent 7e722e0698
commit ef9af07bde
1 changed files with 0 additions and 5 deletions

View File

@ -1,9 +1,4 @@
export interface RestApiErrorData {
status?: number;
}
export type RestApiError = { export type RestApiError = {
code: string; code: string;
data?: RestApiErrorData;
message: string; message: string;
}; };