Documentation
¶
Overview ¶
Package apperr defines the user-facing error type used across commit-spark.
A UserError carries a message that is safe to print directly to the user without a stack trace or bug-report footer. Everything else is treated as an unexpected (internal) error by the CLI layer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsUser ¶
IsUser reports whether err is, or wraps, a *UserError. Because it uses errors.As it keeps working through fmt.Errorf("...: %w", err) chains.
Types ¶
Click to show internal directories.
Click to hide internal directories.