errors

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogErrorWithStack

func LogErrorWithStack(err GitGhostError)

LogErrorWithStack emits a log message with errors.GitGhostError level and stack trace with debug level

Types

type GitGhostError

type GitGhostError interface {
	StackTrace() errors.StackTrace
	Error() string
	Cause() error
}

func Errorf

func Errorf(s string, args ...interface{}) GitGhostError

func New

func New(s string) GitGhostError

func WithStack

func WithStack(err error) GitGhostError

Jump to

Keyboard shortcuts

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