errs

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package errs contains errors that are shared across packages. It's named this way to avoid colliding with "errors" (stdlib), "error" (a builtin type), and "err" (a common variable name).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UnknownVarError

type UnknownVarError struct {
	VarName       string
	AvailableVars []string
	Wrapped       error
}

UnknownVarError is an error that will be returned when a template references a variable that's nonexistent.

func (*UnknownVarError) Error

func (n *UnknownVarError) Error() string

func (*UnknownVarError) Is

func (n *UnknownVarError) Is(other error) bool

func (*UnknownVarError) Unwrap

func (n *UnknownVarError) Unwrap() error

Jump to

Keyboard shortcuts

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