sentry

package
v1.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(dsn string) error

Init initializes Sentry package.

Types

type CustomComplexError

type CustomComplexError struct {
	Message  string
	MoreData map[string]string
}

CustomComplexError implements Errors interface to provide custom complex error.

func (CustomComplexError) Error

func (e CustomComplexError) Error() string

CustomComplexError implements Errors interface.

type EventFormatter

type EventFormatter struct{}

EventFormatter implements sentry.Integration interface. The logic of this structure is integrated with Sentry. This is needed to format errors properly.

func (EventFormatter) Name

func (ee EventFormatter) Name() string

Name implements sentry.Integration interface.

func (EventFormatter) SetupOnce

func (ee EventFormatter) SetupOnce(client *gosentry.Client)

SetupOnce implements sentry.Integration interface.

type ExtractExtra

type ExtractExtra struct{}

ExtractExtra implements sentry.Integration interface. The logic of this structure is integrated with Sentry.

func (ExtractExtra) Name

func (ee ExtractExtra) Name() string

Name implements sentry.Integration interface.

func (ExtractExtra) SetupOnce

func (ee ExtractExtra) SetupOnce(client *gosentry.Client)

SetupOnce implements sentry.Integration interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL