Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrTooLong = errors.New("osfs: output path exceeds the platform limit")
ErrTooLong is projected by osfs as its public path-limit sentinel. Keeping one error value across the internal diagnostic and public boundary preserves errors.Is identity without coupling this deep module back to its consumer.
Functions ¶
func Filesystem ¶
func NewCategorized ¶
Types ¶
type DiagnosticError ¶
type DiagnosticError struct {
// contains filtered or unexported fields
}
DiagnosticError keeps native path details out of the machine-readable cause chain while preserving a bounded, escaped location for operators.
func (*DiagnosticError) Error ¶
func (failure *DiagnosticError) Error() string
func (*DiagnosticError) Is ¶
func (failure *DiagnosticError) Is(target error) bool
func (*DiagnosticError) Unwrap ¶
func (failure *DiagnosticError) Unwrap() error