package api

import "github.com/tidbcloud/AgentTeam/internal/store/storeerr"

var (
	// ErrUnauthorized means the caller token is invalid.
	ErrUnauthorized = storeerr.ErrUnauthorized
	// ErrForbidden means the caller is authenticated but has no access.
	ErrForbidden = storeerr.ErrForbidden
	// ErrNotFound means the requested object does not exist.
	ErrNotFound = storeerr.ErrNotFound
	// ErrConflict means the requested mutation conflicts with current state.
	ErrConflict = storeerr.ErrConflict
	// ErrBadRequest means the request is semantically invalid.
	ErrBadRequest = storeerr.ErrBadRequest
	// ErrGone means the requested token or resource is no longer usable.
	ErrGone = storeerr.ErrGone
	// ErrSystemNotInitialized means the first admin account has not been created yet.
	ErrSystemNotInitialized = storeerr.ErrSystemNotInitialized
	// ErrSystemAlreadyInitialized means the first-admin bootstrap flow already finished.
	ErrSystemAlreadyInitialized = storeerr.ErrSystemAlreadyInitialized
)
