failure

package module
v0.0.0-...-830a094 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2021 License: MIT Imports: 3 Imported by: 0

README

failure

A FAIRE.

Licence

MIT.


Copyright (c) 2021 mls-361.

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, kv ...interface{}) *Failure

New AFAIRE.

func NotImplemented

func NotImplemented() *Failure

NotImplemented AFAIRE.

func Wrap

func Wrap(err error, msg string, kv ...interface{}) *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