Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequeueError ¶
type RequeueError struct {
// contains filtered or unexported fields
}
RequeueError is an error wrapper that implements the 'Requeuer' interface so we can check if a pubsub message processing error will be resubmitted back to queue.
func NewRequeueError ¶
func NewRequeueError(err error, requeue ...bool) RequeueError
NewRequeueError is our convenience function for creating a RequeueError object.
func (RequeueError) ShouldRequeue ¶
func (re RequeueError) ShouldRequeue() bool
Click to show internal directories.
Click to hide internal directories.