package
0.0.0-20211006002630-2f9ccf387d5b
Repository: https://github.com/christianprzybulinski/go-cart-api.git
Documentation: pkg.go.dev

# Functions

GetError is used to get the specific http error or the default.

# Variables

ErrBadRequest is used when wrong Requests.
ErrEmptyCart is used when the response is empty.
ErrInternal is used as default error.
ErrNotFound is used as default not found page.

# Structs

Error struct is used to encapsulate the error code and message to return in the json.