blob: cb850577ce43d0a0317ef7545eddff068786a107 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
package errorsx
// String representing an error, useful for declaring string constants as errors.
type String string
func (t String) Error() string {
return string(t)
}
|