iamerrors

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrServiceUnavailable is the error signifying when the service is not available.
	ErrServiceUnavailable = errors.New("service is unavailable")
	// ErrInternal defines a generic internal server error.
	ErrInternal = errors.New("internal server error")
	// ErrUnauthorized defines an error that signifies that the client is not authorised to use the service.
	ErrUnauthorized = errors.New("user credentials invalid")
	// ErrBadRequest defines an error that signifies that the client request is not valid.
	ErrBadRequest = errors.New("bad request")
	// ErrBadResponse defines an error that signifies that the response could not be properly parsed.
	ErrBadResponse = errors.New("bad response")
)

Codes are the service error codes mapping.

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