errkind

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package errkind defines sentinel errors for the glu CLI so that errors raised deep in the pipeline can be classified by main() and mapped to distinct process exit codes. Wrap concrete errors with fmt.Errorf("...: %w", errkind.Xxx) so the kind survives.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Usage: bad flags, unknown subcommand, missing argument.
	Usage = errors.New("usage error")
	// IO: file not found, permission denied, write failure.
	IO = errors.New("io error")
	// Lua: companion script load failure, Lua block runtime error.
	Lua = errors.New("lua error")
	// Typeset: boxesandglue / htmlbag failure during layout or PDF write.
	Typeset = errors.New("typesetting error")
	// AuxNotConverged: aux file kept changing past --max-passes.
	AuxNotConverged = errors.New("aux did not converge")
)

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