constants

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package constants holds the CLI-layer sentinel errors.

Index

Constants

View Source
const (
	// ErrBadTime is an unparseable instant argument.
	ErrBadTime errs.Const = "invalid time"
	// ErrBadZone is an unknown IANA time zone.
	ErrBadZone errs.Const = "invalid time zone"
	// ErrManPage is a man-page render or write failure.
	ErrManPage errs.Const = "failed to render man page"
	// ErrMissingCommand is a run entry with no command to execute.
	ErrMissingCommand errs.Const = "missing command"
	// ErrMissingShell is a completion request naming no shell.
	ErrMissingShell errs.Const = "missing shell"
	// ErrNoOccurrence is a wait/derive with no occurrence in range.
	ErrNoOccurrence errs.Const = "no occurrence"
	// ErrReadTab is a nowtab file that cannot be read.
	ErrReadTab errs.Const = "cannot read nowtab"
	// ErrTimeout is a wait that expired before an occurrence.
	ErrTimeout errs.Const = "timed out"
	// ErrUnsupportedShell is a completion request for a shell isnow does not emit.
	ErrUnsupportedShell errs.Const = "unsupported shell"
)

CLI-layer sentinels, kept sorted. Library errors (ErrSyntax, ErrSymbol, ErrRange, ErrContext) come from the root isnow package.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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