error.go 255 B

12345678910111213141516171819
  1. package store
  2. type NotFoundError string
  3. func (e NotFoundError) Error() string {
  4. return string(e)
  5. }
  6. type NotFile string
  7. func (e NotFile) Error() string {
  8. return string(e)
  9. }
  10. type TestFail string
  11. func (e TestFail) Error() string {
  12. return string(e)
  13. }