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.
Click to show internal directories.
Click to hide internal directories.