export class HandlerDispatchRejected extends Error { param rejections constructor ( readonly rejections ) { super ( `Processing of a message has failed in at least one handler and will be sent back to the queue for retry.` ) ; Object . setPrototypeOf ( this , new . target . prototype ) ; } }