Error

package
v0.0.0-...-9749107 Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: GPL-3.0 Imports: 1 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewErrorWithFields

func NewErrorWithFields(err error, fields map[string]interface{}) error

Types

type ErrorCollection

type ErrorCollection struct {
	Errors []error
}

func (*ErrorCollection) Err

func (e *ErrorCollection) Err() error

func (*ErrorCollection) Error

func (e *ErrorCollection) Error() string

func (*ErrorCollection) Len

func (e *ErrorCollection) Len() int

func (*ErrorCollection) Push

func (e *ErrorCollection) Push(err error)

type ErrorWithFields

type ErrorWithFields struct {
	Fields map[string]interface{}
	// contains filtered or unexported fields
}

func (*ErrorWithFields) Error

func (e *ErrorWithFields) Error() string

Jump to

Keyboard shortcuts

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