failure

package
v0.0.0-...-5d9b3ed Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: MIT Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Failure

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

Failure AFAIRE.

func New

func New(msg string, fields sdk.Fields) *Failure

New AFAIRE.

func Wrap

func Wrap(err error, msg string, fields sdk.Fields) *Failure

Wrap AFAIRE.

func (*Failure) Error

func (f *Failure) Error() string

Error AFAIRE.

func (*Failure) Unwrap

func (f *Failure) Unwrap() error

Unwrap AFAIRE.

func (*Failure) Wrap

func (f *Failure) Wrap(err error) *Failure

Wrap AFAIRE.

Jump to

Keyboard shortcuts

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