Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildSentryReport ¶
BuildSentryReport builds the components of a sentry report. This can be used instead of ReportError() below to use additional custom conditions in the reporting or add additional reporting tags.
func PrintStackTrace ¶
func PrintStackTrace(s *StackTrace) string
PrintStackTrace produces a human-readable partial representation of the stack trace.
func ReportError ¶
ReportError reports the given error to Sentry. The caller is responsible for checking whether telemetry is enabled. Note: an empty 'eventID' can be returned which signifies that the error was not reported. This can occur when Sentry client hasn't been properly configured or Sentry client decided to not report the error (due to configured sampling rate, callbacks, Sentry's event processors, etc).
Types ¶
type StackTrace ¶
type StackTrace = sentry.Stacktrace
StackTrace is an object suitable for inclusion in errors that can ultimately be reported with ReportInternalError() or similar.