// Copyright 2025 Tristan Isham. All rights reserved.
// Use of this source code is governed by the MIT
// license that can be found in the LICENSE file.

package cli

import (
	"errors"
)

var (
	ErrMissingBundlePath     = errors.New("bundle download path not found")
	ErrUnsupportedSystem     = errors.New("unsupported system for Zig")
	ErrUnsupportedVersion    = errors.New("unsupported Zig version")
	ErrMissingInstallPathEnv = errors.New("env 'ZVM_INSTALL' is not set")
	ErrFailedUpgrade         = errors.New("failed to self-upgrade zvm")
	ErrInvalidVersionMap     = errors.New("invalid version map format")
	ErrInvalidInput          = errors.New("invalid input")
	// ErrDownloadFail is an an error when fetching Zig, or constructing a target URL to fetch Zig.
	ErrDownloadFail       = errors.New("failed to download Zig")
	ErrNoZlsVersion       = errors.New("zls release worker returned error")
	ErrMissingVersionInfo = errors.New("version info not found")
	ErrMissingShasum      = errors.New("shasum not found")
)
