errors

package
v2.10.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cause added in v1.1.0

func Cause(err error) error

func New added in v1.1.0

func New(msg ...interface{}) error

Types

type Error added in v1.1.0

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

func (*Error) Error added in v1.1.0

func (v *Error) Error() string

func (*Error) Inner added in v1.1.0

func (v *Error) Inner() error

type ErrorBuilder

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

func Base

func Base(err error) ErrorBuilder

func (ErrorBuilder) Format

func (v ErrorBuilder) Format(format string, values ...interface{}) error

func (ErrorBuilder) Message

func (v ErrorBuilder) Message(msg ...interface{}) error

type HasInnerError

type HasInnerError interface {
	Inner() error
}

Jump to

Keyboard shortcuts

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