Documentation
¶
Overview ¶
Package state provides error constructors for runtime state persistence.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
Load wraps a state-loading failure.
Parameters:
- cause: the underlying error from loading state.
Returns:
- error: "loading state: <cause>"
func ReadingDir ¶
ReadingDir wraps a state directory read failure.
Parameters:
- cause: the underlying error from reading the directory.
Returns:
- error: "reading state directory: <cause>"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.