# README
go-api-errors
Common library for instantiating different HTTP errors and codes.
# Packages
No description provided by the author
# Functions
SendError sends an error response to the passed in writer along with an optional custom error struct.
SendInternalError sends a 500 response to the passed in writer along with an optional custom error struct.
SendUnauthorizedError sends a 401 response to the passed in writer along with an optinal custom error struct.
# Structs
APIErrorResponse is the envelope for a json error response.