package account

import "errors"

var (
	// Основные ошибки
	ErrAccountNotFound          = errors.New("account not found")
	ErrAccountAlreadyExists     = errors.New("account already exists")
	ErrAccountDeactivated       = errors.New("account is deactivated")
	ErrAccountNotVerified       = errors.New("account is not verified")
	
	// Ошибки пароля
	ErrInvalidCurrentPassword   = errors.New("invalid current password")
	ErrPasswordTooWeak          = errors.New("password too weak")
	ErrPasswordMismatch         = errors.New("password mismatch")
	
	// Ошибки токенов сброса пароля
	ErrResetTokenNotFound       = errors.New("reset token not found")
	ErrResetTokenExpired        = errors.New("reset token has expired")
	ErrResetTokenAlreadyUsed    = errors.New("reset token already used")
	ErrResetTokenInvalid        = errors.New("invalid reset token")
	
	// Ошибки доступа
	ErrInsufficientPermissions  = errors.New("insufficient permissions")
	ErrUnauthorized             = errors.New("unauthorized")
	
	// Ошибки валидации
	ErrInvalidEmail             = errors.New("invalid email")
	ErrInvalidPhone             = errors.New("invalid phone number")
	ErrInvalidINN               = errors.New("invalid INN")
)