Documentation
¶
Overview ¶
errors package for storage errors.
This package implements various types and methods for checking and returning errors related to data storage problems that can take place during runtime of application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrDeviceDuplication is returned, when there is already device with given owner and tag. ErrDeviceDuplication = errors.New("there is already device with given owner and tag") // ErrNoID is returned when there is no resource with given id // stored in database. ErrNoID = errors.New("resource with given id not found") // ErrNicknameTaken is being returned when there is // already a user with given username. ErrNicknameTaken = errors.New("user with given username is already registered") )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.