go-erorr/error.go

10 lines
125 B
Go
Raw Permalink Normal View History

package erorr
2021-11-19 23:41:30 +00:00
type Error string
func (receiver Error) Error() string {
return string(receiver)
}
var _ error = Error("")