Skip to content

Commit

Permalink
chore: change api error name
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniAkash committed May 7, 2024
1 parent fdbbfe1 commit 32e23d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class APIError<T extends APIResponse> extends Error {
"Unknown Server error"
}`,
);
this.name = "GRPCError";
this.name = "APIError";
if (Error.captureStackTrace) {
Error.captureStackTrace(this, APIError);
}
Expand Down

0 comments on commit 32e23d8

Please sign in to comment.