package app_error

// ErrorCode is a custom type for application error codes.
type ErrorCode string

const (
	// General errors
	InternalError        ErrorCode = "internal_error"
	ValidationError      ErrorCode = "validation_error"
	NotFoundError        ErrorCode = "not_found"
	UnauthorizedError    ErrorCode = "unauthorized"
	ForbiddenError       ErrorCode = "forbidden"
	ConflictError        ErrorCode = "conflict"
	DatabaseError        ErrorCode = "database_error"
	ExternalServiceError ErrorCode = "external_service_error"
	AuthError            ErrorCode = "auth_error"

	// Specific errors
	UserNotFoundError    ErrorCode = "user_not_found"
	ProjectNotFoundError ErrorCode = "project_not_found"
)
