Help us shape the future of Go! Take the 2026 Go Developer Survey

diskfull

package
v0.35.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package diskfull tells a store's out-of-space error apart (ADR-0297 Decision 3): a write that fails with ENOSPC is fault.InsufficientStorage, a 507, while the daemon keeps running.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is

func Is(err error) bool

Is reports whether err matches syscall.ENOSPC.

func Wrapf

func Wrapf(err error, op, format string, a ...any) *fault.Error

Wrapf wraps a store write's error as fault.Wrapf does: fault.InsufficientStorage when it matches syscall.ENOSPC, fault.Internal otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL