etcd/store/error.go

26 lines
332 B
Go
Raw Normal View History

2013-07-12 19:41:28 +04:00
package store
type NotFoundError string
func (e NotFoundError) Error() string {
2013-07-13 00:35:43 +04:00
return string(e)
2013-07-12 19:41:28 +04:00
}
type NotFile string
func (e NotFile) Error() string {
2013-07-13 00:35:43 +04:00
return string(e)
2013-07-12 19:41:28 +04:00
}
type TestFail string
func (e TestFail) Error() string {
2013-07-13 00:35:43 +04:00
return string(e)
}
type Keyword string
func (e Keyword) Error() string {
return string(e)
2013-07-16 21:44:09 +04:00
}