errorhandler

package
v0.0.37 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2016 License: Apache-2.0 Imports: 7 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAlreadyHandled = errors.New("error already handled")
	RedFunc           = color.New(color.FgRed).SprintFunc()
)

Functions

This section is empty.

Types

type ErrorHandler

type ErrorHandler interface {
	HandleError(err error) error
}

func NewErrorHandler

func NewErrorHandler(
	format string,
	outputWriter io.Writer,
	logWriter io.Writer,
) ErrorHandler

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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