<commit_before>package actionerror

import "fmt"

// RevisionNotFoundError is returned when a requested application is not
// found.
type RevisionNotFoundError struct {
	Version int
	App     string
}

func (e RevisionNotFoundError) Error() string {
	return fmt.Sprintf("Revision '%d' for app '%s' not found", e.Version, e.App)
}

type RevisionAmbiguousError struct {
	Version int
}

func (e RevisionAmbiguousError) Error() string {
	return fmt.Sprintf("More than one revision '%d' found", e.Version)
}
<commit_msg>Change revision command error message format<commit_after>package actionerror

import "fmt"

// RevisionNotFoundError is returned when a requested application is not
// found.
type RevisionNotFoundError struct {
	Version int
}

func (e RevisionNotFoundError) Error() string {
	return fmt.Sprintf("Revision (%d) not found", e.Version)
}

type RevisionAmbiguousError struct {
	Version int
}

func (e RevisionAmbiguousError) Error() string {
	return fmt.Sprintf("More than one revision (%d) found", e.Version)
}

{'fraction_non_alphanumeric': 0.09481915933528837, 'fraction_numerical': 0.0, 'mean_word_length': 5.023529411764706, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '658063', 'n_tokens_mistral': 306, 'n_tokens_neox': 299, 'n_words': 107}