errordef

package
v0.0.0-...-9d72ccb Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrArgon2IncompatibleVersion error = errors.New("argon2 version is incompatible")
View Source
var ErrArgon2InvalidHash error = errors.New("hash is invalid")
View Source
var ErrCouldNotFindPostgresURI error = errors.New("could not find postgres uri environment variable")
View Source
var ErrFailedToConnect error = errors.New("failed to connect to database")
View Source
var ErrNoteAlreadyExists error = errors.New("note already exists")
View Source
var ErrNoteDoesntExist error = errors.New("note doesn't exist")
View Source
var ErrNoteNameTooShort error = errors.New("note name must be at least 5 characters long")
View Source
var ErrPasswordTooShort error = errors.New("password must be at least 8 characters")
View Source
var ErrUserAlreadyExists error = errors.New("user already exists")
View Source
var ErrUserDoesntExist error = errors.New("user doesn't exist")
View Source
var ErrUsernameMustContainAlphaNumeric error = errors.New("username can only contain alphanumeric characters")
View Source
var ErrUsernameTooShort error = errors.New("username must be at least 4 characters")

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