errorsxtest

package
v1.130.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: Apache-2.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package errorsxtest helps tests check the origin stack that Sentry records for an error.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorExceptions

func ErrorExceptions(err error) []sentry.Exception

ErrorExceptions returns the exceptions that Sentry records for err.

func ErrorOriginFunction

func ErrorOriginFunction(err error) string

ErrorOriginFunction returns OriginFunction of the exceptions that Sentry records for err.

func OriginFunction

func OriginFunction(exceptions []sentry.Exception) string

OriginFunction returns the innermost function of OriginStack, or "".

func OriginStack

func OriginStack(exceptions []sentry.Exception) []string

OriginStack returns the functions of the first stack in exceptions, innermost first. sentry-go orders exceptions root-first, so an origin stack comes before the stack of the capture site. It returns nil when no exception has a stack.

Types

This section is empty.

Jump to

Keyboard shortcuts

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