package
2.9.0
Repository: https://github.com/cloudtrust/common-service.git
Documentation: pkg.go.dev

# Functions

CreateBadRequestError creates an error relative to a bad request.
CreateEndpointNotEnabled creates an error relative to an attempt to access a not enabled endpoint.
CreateInternalServerError creates an error relative to an internal server error.
CreateInvalidPathParameterError creates an error relative to a invalid path parameter.
CreateInvalidQueryParameterError creates an error relative to a invalid query parameter.
CreateMissingParameterError creates an error relative to a missing mandatory parameter.
CreateNotAllowedError creates an error relative to a not allowed request.
CreateNotFoundError creates an error relative to a not found request.
GetEmitter allows to see who called the common service.
SetEmitter is called by the components that call the methods of the common service.

# Constants

Constants for error messages.
Constants for error messages.
Constants for error messages.
Constants for error messages.
Constants for error messages.
Constants for error messages.
Constants for error messages.
Constants for error messages.
Constants for error messages.
Constants for error messages.
Constants for error messages.
Constants for error messages.
Constants for error messages.
Constants for error messages.
Constants for error messages.
Constants for error messages.
Constants for error messages.

# Structs

Error can be returned by the API endpoints.
UnauthorizedError when an operation is not permitted.

# Interfaces

DetailedError interface.