errorscustom

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Generic Error type
	ErrNotValidOutput  = errors.New("not valid output")
	ErrNoHomeDirectory = errors.New("no home directory")
	ErrNotImplemented  = errors.New("not implemented")
	ErrConfigFile      = errors.New("error to configuration file")
	ErrClient          = errors.New("error to initialize client")
)

Functions

func IsClient

func IsClient(err error) bool

IsClient checks if the error is of type ErrClient

func IsConfigFile

func IsConfigFile(err error) bool

IsConfigFile checks if the error is of type ErrConfigFile

func IsNoHomeDirectory

func IsNoHomeDirectory(err error) bool

IsNoHomeDirectory checks if the error is of type ErrNoHomeDirectory

func IsNotValidOutput

func IsNotValidOutput(err error) bool

IsNotValidOutput checks if the error is of type ErrNotValidOutput

Types

This section is empty.

Jump to

Keyboard shortcuts

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