Skip to content

Commit 6da8a6c

Browse files
feat: export error classes (#566)
1 parent 7dfed5d commit 6da8a6c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/errors.ts

+1
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ function toTimeoutError(
159159

160160
export {
161161
SQSError,
162+
StandardError,
162163
TimeoutError,
163164
isConnectionError,
164165
toSQSError,

src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
export { Consumer } from "./consumer.js";
2+
export { SQSError, StandardError, TimeoutError } from "./errors.js";
23
export * from "./types.js";

0 commit comments

Comments
 (0)