errors

package
v0.0.0-...-5230f1d Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2019 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 Error

type Error struct {
	Message   string
	KeyValues []interface{}
	Err       error
}

Error TODO

func New

func New(err error) *Error

New TODO

func (*Error) Error

func (e *Error) Error() string

Error implémente l'interface "error".

func (*Error) Msg

func (e *Error) Msg(msg string) *Error

Msg TODO

func (*Error) Msgf

func (e *Error) Msgf(format string, args ...interface{}) *Error

Msgf TODO

func (*Error) Set

func (e *Error) Set(key string, value interface{}) *Error

Set TODO

func (*Error) Setf

func (e *Error) Setf(key string, format string, args ...interface{}) *Error

Setf TODO

func (*Error) Unwrap

func (e *Error) 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