errorprinter

package
v1.60.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.6.0

type Config struct {
	DisableColors bool
	StackTrace    bool
}

type ErrorPrinter

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

func New

func New(c Config) *ErrorPrinter

func (*ErrorPrinter) Format

func (ep *ErrorPrinter) Format(err error) string

Jump to

Keyboard shortcuts

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