errors

package
v0.0.0-...-2ce77b4 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirNotFound

func DirNotFound(path string) error

DirNotFound returns a standardized directory not found error

func FileNotFound

func FileNotFound(path string) error

FileNotFound returns a standardized file not found error

func InvalidPath

func InvalidPath(pathType string, err error) error

InvalidPath returns a standardized invalid path error

func MinValue

func MinValue(flagName string, minValue int) error

MinValue returns an error for values below minimum

func MutuallyExclusive

func MutuallyExclusive(flag1, flag2 string) error

MutuallyExclusive returns an error for mutually exclusive flags

func RequiredFlag

func RequiredFlag(flagName string, examples ...string) error

RequiredFlag returns a standardized required flag error with help

func ValidationError

func ValidationError(message string) error

ValidationError returns a standardized validation error

func WrapError

func WrapError(operation string, err error) error

WrapError wraps an error with operation context

Types

This section is empty.

Jump to

Keyboard shortcuts

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