svrerr

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrParsingUserID  = errors.New("invalid_user_id")
	ErrHasingPassword = errors.New("error_hashing_password")

	// Storage errors
	ErrDBUpdatingData   = errors.New("failed_updating_data")
	ErrDBStoringData    = errors.New("failed_storing_data")
	ErrDBRetrievingData = errors.New("failed_retrieving_data")
	ErrDBEntryNotFound  = errors.New("record_not_found")
	ErrDBDuplicateEntry = errors.New("duplicate_entry_on_unique_field")
)
View Source
var (
	ErrValidationFailed   = errors.New("failed_data_validation")
	ErrInvalidCredentials = errors.New("error_invalid_credentials")

	ErrInvalidSession = errors.New("invalid_session")
	ErrInvalidToken   = errors.New("invalid_token")
)

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