From 7c75d70e12545859d011c289b251d2ef746de589 Mon Sep 17 00:00:00 2001 From: Piotr Kuczynski Date: Mon, 22 Feb 2021 18:24:03 +0100 Subject: [PATCH] feat: export PublishError (#1216) Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/nodejs-pubsub/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) Fixes #1215 --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 5ff837833..8320ea3c7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -91,6 +91,7 @@ export { IAM, } from './iam'; export {Attributes, PublishCallback} from './publisher'; +export {PublishError} from './publisher/publish-error'; export { PageOptions, GetSnapshotsCallback,