constants

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: MIT Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ResponseTime reports the response time of handlers and rpc
	ResponseTime = "response_time_ms"

	// ResponseTimeHistogram ...
	ResponseTimeHistogram = "response_time_histogram_ms"

	// ErrorCount reports the number of requests that returned unexpected errors
	ErrorCount = "error_count"
)
View Source
var (
	ErrStorageKeyNotFound  = errors.New("storage key not found")
	ErrStorageTypeNotFound = errors.New("storage type not found")
	ErrMalformedObject     = errors.New("malformed object type argument")
)

Errors that can occur during bot execution

View Source
var (
	ErrSpecInvalidNil  = errors.New("invalid spec: nil")
	ErrSpecInvalidType = errors.New("invalid spec: Type")
	ErrSpecInvalidURI  = errors.New("invalid spec: URI")
)

Errors that are related to a spec

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