spalling

package module
v0.0.0-...-ef4d04c Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2026 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sealer

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

func Seal

func Seal(err error, msg string, skip uint) *Sealer

func (*Sealer) Error

func (e *Sealer) Error() string

func (*Sealer) Format

func (e *Sealer) Format(s fmt.State, v rune)

func (*Sealer) FormatError

func (e *Sealer) FormatError(p xerrors.Printer) (next error)

type Wrapper

type Wrapper struct {
	Sealer
}

func Wrap

func Wrap(err error, msg string, skip uint) *Wrapper

func (*Wrapper) Unwrap

func (e *Wrapper) Unwrap() error

Jump to

Keyboard shortcuts

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