package
1.0.2
Repository: https://github.com/dannymato/gowebframework.git
Documentation: pkg.go.dev

# Functions

WriteError takes an httpResponseWriter and an Error and writes the error the Writer using the JSON encoder.

# Variables

ErrBadRequest provides a constant Error for HTTP Error 400.
ErrForbidden provides a constant error for HTTP Error 403.
ErrInternalServer provides a constant Error for HTTP Error 500.
ErrNotAcceptable provides a constant for HTTP Error 406.

# Structs

Error contains the information to return to the client when an error occurs.
Errors contains an array of Error structs for returning multiple errors to the client.