This error is thrown by Publisher.publish if there were any subscriber errors during publishing. This is a collection of one or more PublishError errors.
try { awaitpublisher.publish('topic.golang', 'hello') } catch(err: any) { if (errinstanceofPublishErrors) { for (leterroroferr.errors) { console.log('subscriber', error.subscriber, 'got an error: ', error.error) } } }
This error is thrown by
Publisher.publish
if there were any subscriber errors during publishing. This is a collection of one or morePublishError
errors.