errors

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2020 License: BSD-3-Clause Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL