errors

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ArgParseError = "ArgParseError"
	ClientError   = "ClientError"
	ServerError   = "ServerError"
	OutputError   = "OutputError"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Type    ErrorType
	Message string
}

func New

func New(Type ErrorType, format string, args ...interface{}) *Error

func (*Error) Error

func (e *Error) Error() string

type ErrorType

type ErrorType string

Jump to

Keyboard shortcuts

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