constants

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package constants declares tsvsheet.api's sentinel error values. The error mechanism (the matchable string type) lives in the shared gomatic/go-error library; these values are this package's own.

Index

Constants

View Source
const (
	ErrDocExists   errs.Const = "document already exists"
	ErrDocMissing  errs.Const = "document not found"
	ErrDocParse    errs.Const = "stored document does not parse"
	ErrDocPath     errs.Const = "document path refused"
	ErrDocRead     errs.Const = "failed to read document"
	ErrDocSyntax   errs.Const = "document body does not parse"
	ErrDocWrite    errs.Const = "failed to write document"
	ErrListen      errs.Const = "failed to bind the api server"
	ErrNotLoopback errs.Const = "refusing a non-loopback bind"
	ErrPrecond     errs.Const = "revision precondition failed"
	ErrRootOpen    errs.Const = "document root cannot be opened"
)

Keep these constants sorted alphabetically.

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