go-erorr/error.go

10 lines
125 B
Go

package erorr
type Error string
func (receiver Error) Error() string {
return string(receiver)
}
var _ error = Error("")