Files
Veyra/internal/apperror/errors.go
T
Blizzard bffdb3858b
Checks / verify (push) Failing after 2m37s
feat: 基础框架搭建完毕
2026-10-07 09:27:47 +08:00

14 lines
445 B
Go

// Package apperror defines safe application errors shared across module boundaries.
package apperror
import "errors"
var (
ErrInvalidInput = errors.New("invalid input")
ErrUnauthenticated = errors.New("authentication required")
ErrForbidden = errors.New("permission denied")
ErrConflict = errors.New("already exists")
ErrNotFound = errors.New("not found")
ErrUnavailable = errors.New("service unavailable")
)