svrerr

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrParsingAccountID = errors.New("invalid_account_id")
	ErrHasingPassword   = errors.New("error_hashing_password")

	// Storage errors
	ErrDBStorageFailed  = errors.New("storage_error")
	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")

	ErrParsingQueryParams = errors.New("error_parsing_query_params")

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

	ErrJWTExpired = errors.New("jwt_expired")
)

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