Skip to content

Commit

Permalink
Fixed incorrect error name (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
leo committed Jul 15, 2024
1 parent fa9e241 commit a0ba087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class InvalidResponseError extends Error {
constructor(details: InvalidResponseErrorDetails) {
super(details.message);

this.name = 'InvalidQueryRequest';
this.name = 'InvalidResponseError';
this.message = details.message;
this.code = details.code;
}
Expand Down

0 comments on commit a0ba087

Please sign in to comment.