class

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// MjrHandler is the major router error classification.
	MjrHandler errors.Major
	// MjrGateway is the major gateway error classification.
	MjrGateway errors.Major
	// MjrMiddleware is the major error classification for middlewares.
	MjrMiddleware errors.Major
	// MjrConfig is the major error classification for config related issues.
	MjrConfig errors.Major
)
View Source
var (
	// HandlerNotRegistered is the error classification for the
	// not registered routers.
	HandlerNotRegistered errors.Class

	// HandlerAlreadyRegistered is the error classification when the
	// router with given name is already registered.
	HandlerAlreadyRegistered errors.Class

	// HandlerConfigNoName is the error classification for the router
	// config without router name.
	HandlerConfigNoName errors.Class
)
View Source
var (
	// MiddlewareAlreadyRegistered is the error classification for middlewares that are already registered
	// for provided name.
	MiddlewareAlreadyRegistered errors.Class
	// MiddlewareNotRegistered is the error classification for the middleware
	// that is not registered.
	MiddlewareNotRegistered errors.Class
)
View Source
var (
	// MnrConfigModel minor error classification for config models issues.
	MnrConfigModel errors.Minor

	// ConfigModelRelatedEndpoint is the error classification for config model endpoint issues.
	ConfigModelRelatedEndpoint errors.Class
)
View Source
var (
	// MnrQueryParameter is the minor error classification for invalid client queries parameters.
	MnrQueryParameter errors.Minor

	// QueryInvalidParameter is the error classification for invalid url queries parameters.
	QueryInvalidParameter errors.Class

	// MnrQueryTimeout is the minor error classification for timed out client queries.
	MnrQueryTimeout errors.Minor

	// QueryTimeout is the error class for timed out client queries.
	QueryTimeout errors.Class

	// MnrQueryURL is the minor error classification for query urls.
	MnrQueryURL errors.Minor

	// QueryInvalidURL is the error classification for invalid query urls.
	QueryInvalidURL errors.Class
)

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