errorcodes

package
v0.0.0-...-13dad8c Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ErrInfluxUnavailable is used when a connection cannot be made to the influxdb service
	ErrInfluxUnavailable = int32(900)
	// ErrInfluxWrite is used when unable to write data to influxdb
	ErrInfluxWrite = int32(910)
	// ErrRecordExists is used when a duplicate record is requested to be created
	ErrRecordExists = int32(920)
)

Variables

This section is empty.

Functions

func GetText

func GetText(code int32) string

GetText returns a text message for the given error code. It returns the empty string if the code is unknown.

Types

This section is empty.

Jump to

Keyboard shortcuts

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