Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorHandler ¶
ErrorHandler is responsible for handling errors
func NewSentryErrorHandler ¶
func NewSentryErrorHandler(options sentry.ClientOptions) (ErrorHandler, error)
NewSentryErrorHandler creates a new sentry error handler
type SentryErrorHandler ¶
type SentryErrorHandler struct {
// contains filtered or unexported fields
}
SentryErrorHandler implements and error handler with Sentry
func (*SentryErrorHandler) CaptureError ¶
func (sentry *SentryErrorHandler) CaptureError(ctx context.Context, err error)
CaptureError captures an error
Click to show internal directories.
Click to hide internal directories.