failure

package
v0.0.0-...-59a64bd Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2020 License: MIT Imports: 3 Imported by: 0

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(err error) *Failure

New AFAIRE

func (*Failure) Error

func (f *Failure) Error() string

Error implémente l'interface "error".

func (*Failure) Msg

func (f *Failure) Msg(msg string) *Failure

Msg AFAIRE

func (*Failure) Msgf

func (f *Failure) Msgf(format string, args ...interface{}) *Failure

Msgf AFAIRE

func (*Failure) Set

func (f *Failure) Set(key string, value interface{}) *Failure

Set AFAIRE

func (*Failure) Setf

func (f *Failure) Setf(key, format string, args ...interface{}) *Failure

Setf AFAIRE

func (*Failure) Unwrap

func (f *Failure) Unwrap() error

Unwrap implémente l'interface "errors.Wrapper".

Jump to

Keyboard shortcuts

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