Skip to content

Commit

Permalink
feat: export error classes (#566)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasgriffintn authored Feb 27, 2025
1 parent 7dfed5d commit 6da8a6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ function toTimeoutError(

export {
SQSError,
StandardError,
TimeoutError,
isConnectionError,
toSQSError,
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export { Consumer } from "./consumer.js";
export { SQSError, StandardError, TimeoutError } from "./errors.js";
export * from "./types.js";

0 comments on commit 6da8a6c

Please sign in to comment.