package
0.2.1
Repository: https://github.com/generationtux/brizo.git
Documentation: pkg.go.dev

# Functions

DatabaseConnectError is a wrapper for a new GenericSelfRespondingJSONError that will provide a predefined message for a database connection error.
KubeClientConnectionError provides a predefined message for a Kubernetes client connection error.
NewJSONResponseError creates a new instance of a JSONResponseError.
RespondJSONError will bootstrap and write out a valid json repsonse using the provided JSONResponseError.

# Structs

GenericSelfRespondingJSONError is a generic implementation of of the SelfRespondingJSONError interface.
JSONResponseError implements a JSON specific ResponseErrorBag.
ResponseError holds details and a status code related to a specific error.

# Interfaces

ResponseErrorBag handles the management and usage of ResponseErrors.
SelfRespondingJSONError is an interfaces representing the ability to render its own contents.