errors

package
v0.0.0-...-5da7351 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package errors implements error reporting functionality that is commonly used within this project. Its purpose is to standardize generic error reports, both for external use via API responses and for internal use via logging.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultInternalServerError

func DefaultInternalServerError() *apimodels.Error

DefaultInternalServerError returns an error-non-specific payload for a generic 500 server response. For the sake of both simplicity and security, there should not be any further detail returned to the client in a 500: Internal Server Error response.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL