errors

package
v0.73.9 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 4 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package errors contains simple error variables.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrConnectionNotReady indicated that the network connection to the gRPC server is not ready.
	ErrConnectionNotReady = errors.New("gRPC connection not ready")

	// ErrNil indicates that a nil/null pointer was encountered.
	ErrNil = errors.New("nil pointer")

	// ErrMissingEmptyConfigSection indicates that a required config file section is missing (not present) or empty (zero-length).
	ErrMissingEmptyConfigSection = errors.New("config file section is missing/empty")
)

Functions

func ErrorDetail

func ErrorDetail(err error) error

ErrorDetail takes an error, converts it to a gRPC Status object, and pulls out the code, message, and (most importantly) the details list.

Types

This section is empty.

Jump to

Keyboard shortcuts

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