fixederrors

package
v0.0.0-...-e0ea65e Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package fixederrors with custom errors

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAlreadyExists            = errors.New("value already exists")
	ErrNoValue                  = errors.New("value not found")
	ErrUnkType                  = errors.New("unknown data type")
	ErrUserAlreadyExists        = errors.New("user already exist")
	ErrUserNotExists            = errors.New("user not exist")
	ErrInvalidToken             = errors.New("invalid token")
	ErrRecordAlreadyExists      = errors.New("item already exist")
	ErrRecordNotFound           = errors.New("record not found")
	ErrInvalidCreditCard        = errors.New("wrong credit card number")
	ErrInvalidTextFormat        = errors.New("invalid text format")
	ErrWrongLoginPasswordFormat = errors.New("wrong login password format")
	ErrCertificateLoad          = errors.New("credentials: failed to append certificates")
)

custom service error types

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