stackerr

package
v2.30.9 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: BSD-3-Clause Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStack

func GetStack(err error) ([]byte, bool)

func NewStackErr

func NewStackErr(cause error) error

func NewStackErrf

func NewStackErrf(cause error, f string, args ...any) error

Types

type StackErr

type StackErr struct {
	// contains filtered or unexported fields
}

func (StackErr) Error

func (se StackErr) Error() string

func (StackErr) Stack

func (se StackErr) Stack() []byte

func (StackErr) Unwrap

func (se StackErr) Unwrap() error

Jump to

Keyboard shortcuts

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