Logo
Explore Help
Register Sign In
actions/gh-actions-cache
1
0
Fork 0
You've already forked gh-actions-cache
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
19af1838b93a694634836cb7079d1f17a73dfaa2
gh-actions-cache/types/errors.go

17 lines
225 B
Go
Raw Normal View History

Tests for CLI (#6) * Completed List cmd and added API calls * Minor comments and add delete code to pass linting * Typo in descriptions * Minor comments * Validations * Validations-1 * improved branch flag validation * removed build * working after refactory with bad names * Command working, test not working * Corrected creation of service * Finalized structure using service * Deleted tests * cleanup * cleanup * cleanup * removed space with tab * aligned types in model.go * Update model.go * resolved comments * Refactor * removed long descriptions * Working incomplete tests * Completed tests * cleanup * checks * PR comments * PR comments * minor comment issue * minor comment issue * updated tests to work with workflow * Updated tests to support new option service * Improved eror handling for list * Improved error handling * Upgraded go-gh * reusing rest client error
2022-07-14 02:14:03 +05:30
package types
import (
"fmt"
)
type HandledError struct {
Message string
InnerError error
}
// Allow HandledError to satisfy error interface.
func (err HandledError) Error() string {
return fmt.Sprintf(err.Message)
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 348ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API