Documentation
¶
Overview ¶
Package errors provides structured error types whose call sites need to match on type via errors.As (e.g. CLI exit-code mapping, retry policies).
Lower-level wrap-and-propagate paths (config load, HCL parse) use plain fmt.Errorf("...: %w", err) — wrapping that nobody dispatches on doesn't earn its own type.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoModulesError ¶
type NoModulesError struct {
Dir string
}
NoModulesError indicates that module discovery succeeded but found no modules. Distinct from ScanError so the CLI can emit a friendly hint instead of a generic failure message.
func (*NoModulesError) Error ¶
func (e *NoModulesError) Error() string
Click to show internal directories.
Click to hide internal directories.