docs(bonfire): the ErrReported comment names the WithExitCode code (IN-14)

This commit is contained in:
Jakub Zych
2026-10-22 03:51:55 +02:00
parent a28957f7d0
commit 7c1509581b

View File

@@ -71,7 +71,8 @@ func WithHint(err error, explanation, try string) error {
}
// ErrReported marks an error whose details the command already printed:
// the error block prints nothing and the exit code is 1.
// the error block prints nothing and the exit code is 1, or the code given
// with WithExitCode.
var ErrReported = errors.New("bonfire: error already reported")
type reportedError struct {