uerrors

package
v0.0.0-...-e29e17f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2020 License: Apache-2.0, Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package uerrors are all errors that are to be displayed to a user

Index

Constants

View Source
const (
	// IndexPathNotProvided represents and error where a path is not provided as an argument to the index command
	IndexPathNotProvided = "Please provide the path to a file to index."

	// IndexFileDoesNotExist represents an error where the file does not exist at the path provided for the index command
	IndexFileDoesNotExist = "The file at the path provided does not exist."

	// SearchNoTextGiven represents an error where no search text was given for the search command
	SearchNoTextGiven = "Please provide some text that you would like to perform a search with."

	// SearchRequestFailed represents an error where a request to the search api failed
	SearchRequestFailed = "There was an issue performing your search."

	// SearchNoResults represents an error where there were no search results
	SearchNoResults = "No search results were found that matched your query. Have you indexed any files?"

	// APINotAvailable represents an error where the API is currently down
	APINotAvailable = "Could not connect to the Starship API. Ensure that the proper url is set in ~/.starship/starship.conf"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL