stacked

package
v0.0.0-...-41ddf2c Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepestStacked

func DeepestStacked(err error) terrors.Stacked

DeepestStacked finds the deepest error which has a stack. This may not get the deepest in the whole tree, only the deepest as found walking down one branch of the tree.

func Stack

func Stack(offset, trim int) string

Stack gets the stack trace not including the call into this method. Offset is the number of frames to leave off of the top of the stack. Trim is the number of frames to remove from the end of the stack.

Types

This section is empty.

Jump to

Keyboard shortcuts

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