errors

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(text string) error

func Errorf

func Errorf(format string, args ...interface{}) error

func WrapError

func WrapError(cause error, text string) error

Types

type ModuleError

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

func (*ModuleError) Error

func (e *ModuleError) Error() string

func (*ModuleError) ModuleError

func (e *ModuleError) ModuleError() string

func (*ModuleError) Unwrap

func (e *ModuleError) Unwrap() error

Jump to

Keyboard shortcuts

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