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
}
Directories
¶
| Path | Synopsis |
|---|---|
|
tests
|
|
|
activity_cases/starter
command
|
|
|
activity_cases/worker
command
|
|
|
workflow_cases/starter
command
|
|
|
workflow_cases/worker
command
|
Click to show internal directories.
Click to hide internal directories.