Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDocumentNotFound = errors.New("document not found")
View Source
var ErrInternalServerError = errors.New("internel server error")
Functions ¶
func DocumentNotFoundError ¶
Types ¶
type ApiError ¶
func ClientError ¶
func InternalServerError ¶
func NewApiError ¶
func NotFoundError ¶
func RecordExistsError ¶
func UnauthorizedError ¶
func UnauthorizedError() *ApiError
type MongoError ¶
func (*MongoError) Error ¶
func (m *MongoError) Error() string
Click to show internal directories.
Click to hide internal directories.