# Functions

Custom generated an events.APIGatewayProxyResponse object that can be directly returned via the lambda's handler function.
Empty returns a simple empty events.APIGatewayProxyResponse with http.StatusOK.
Error generates an events.APIGatewayProxyResponse from an error value.
File generates a new events.APIGatewayProxyResponse with the ContentTypeKey header set appropriately, the file bytes added to the response body, and the http status set to http.StatusOK.
FileB64 generates a new events.APIGatewayProxyResponse with the ContentTypeKey header set appropriately, the file bytes encoded to base64, and the http status set to http.StatusOK.
StatusAndError generates a custom error return response with the given http status code and error.
Success wraps Custom assuming a http.StatusOK status code and no custom headers to return.
Unmarshal should generally be used only when testing as normally you return the response directly to the caller and won't need to Unmarshal it.

# Variables

ExposeServerErrors is a boolean indicating whether the Error function should expose errors of status code 500 or above to clients.

# Structs

HTTPError is a generic struct type for JSON error responses.