protoerr

package
v0.0.0-...-070f6d9 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrResourceNotFound = errors.New("RESOURCE_NOT_FOUND")
	ErrResourceRead     = errors.New("RESOURCE_NOT_READ")
	ErrConversionFormat = errors.New("CONVERSION_FORMAT_FAILED")
	ErrCLIAction        = errors.New("CLI_ACTION_FAILED")
	ErrNotFound         = errors.New("NOT_FOUND")
	ErrWriteFile        = errors.New("WRITE_FILE_FAILED")
	ErrHashPassword     = errors.New("HASH_PASSWD_FAILED")
	ErrParsingRequest   = errors.New("PARSING_REQUEST_FAILED")
	ErrApiRequest       = errors.New("API_REQUEST_FAILED")
	ErrFailedLogin      = errors.New("LOGIN_FAILED")
)

Functions

This section is empty.

Types

type WrappedError

type WrappedError struct {
	Message string
	Err     *error
}

func NewWrappedError

func NewWrappedError(message string, err *error) WrappedError

func (*WrappedError) Error

func (w *WrappedError) Error() string

Jump to

Keyboard shortcuts

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