go-erorr/error.go

10 lines
123 B
Go

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