# README
Errors
errors
package serve to build an arbitrary long error chain in order to capture errors returned from nested service
calls.
errors
package contains the custom Go error
interface implementation, Error
. You use the Error
interface to **
wrap** two errors in a containing error as well as to test recursively if a given error contains some other error.
# Variables
ErrConflict indicates that entity already exists.
ErrInvalidQueryParams indicates invalid query parameters.
ErrMalformedEntity indicates a malformed entity specification.
ErrNotFound indicates a non-existent entity request.
ErrNotFoundParam indicates that the parameter was not found in the query.
ErrScanMetadata indicates problem with metadata in db.
ErrSelectEntity indicates error while reading entity from database.
ErrUnauthorizedAccess indicates missing or invalid credentials provided when accessing a protected resource.
ErrUnsupportedContentType indicates unacceptable or lack of Content-Type.
ErrUpdateEntity indicates error in updating entity or entities.
ErrViewEntity indicates error in viewing entity or entities.
# Interfaces
Error specifies an API that must be fullfiled by error type.