error

package
v0.0.27 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

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorType

type ErrorType string
const (
	//RecoverableErrorType    ErrorType = "recoverable"
	NonRecoverableErrorType ErrorType = "nonrecoverable"
	TargetLookupError       ErrorType = "targetLookupError"
)

type MyError

type MyError struct {
	Type      ErrorType
	Message   string
	OrigError error
}

func (*MyError) Error

func (r *MyError) Error() string

Jump to

Keyboard shortcuts

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