errors

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExitSuccess      = 0
	ExitGeneralError = 1
	ExitUsageError   = 2
	ExitAuthError    = 3
	ExitNetworkError = 4
	ExitAPIError     = 5
	ExitRateLimited  = 6
	ExitTimeout      = 7
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CLIError

type CLIError struct {
	UserMessage string
	Suggestion  string
	ExitCode    int
	Cause       error
}

func (*CLIError) Error

func (e *CLIError) Error() string

func (*CLIError) Unwrap

func (e *CLIError) Unwrap() error

Jump to

Keyboard shortcuts

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