errors

package
v1.11.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error added in v1.5.0

type Error struct {
	Description string
	Cause       error
}

Error wraps command errors

func New added in v1.5.0

func New(description string, cause error) *Error

New is used to create command errors

func (*Error) Error added in v1.5.0

func (e *Error) Error() string

Error prints the error description and the reason for the error

Jump to

Keyboard shortcuts

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