Versions in this module Expand all Collapse all v0 v0.1.0 Apr 24, 2026 Changes in this version + const CodeAuth + const CodeGeneral + const CodeNetwork + const CodeNotFound + const CodePermission + const CodeRateLimit + const CodeUsage + const ExitAuth + const ExitGeneral + const ExitNetwork + const ExitNotFound + const ExitPermission + const ExitRateLimit + const ExitSuccess + const ExitUsage + type CLIError struct + Code string + Err error + ExitCode int + Message string + func New(exitCode int, code string, message string) *CLIError + func NewAuthError(message string) *CLIError + func NewGeneralError(message string, err error) *CLIError + func NewNetworkError(message string, err error) *CLIError + func NewNotFoundError(message string) *CLIError + func NewPermissionError(message string) *CLIError + func NewRateLimitError(message string) *CLIError + func NewUsageError(message string) *CLIError + func Wrap(exitCode int, code string, message string, err error) *CLIError + func (e *CLIError) Error() string + func (e *CLIError) Unwrap() error