Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(hub *sentry.Hub, opts Options) interceptor.WorkerInterceptor
New creates a worker interceptor which will report error to sentry.
Types ¶
type ErrorSkipper ¶
type Options ¶
type Options struct { // ActivityErrorSkipper configures a function to determine if an error from activity should be skipped. ActivityErrorSkipper ErrorSkipper // WorkflowErrorSkipper configures a function to determine if an error from workflow should be skipped. WorkflowErrorSkipper ErrorSkipper }
Click to show internal directories.
Click to hide internal directories.