mirror of
https://github.com/sstent/go-garth.git
synced 2026-01-26 17:11:42 +00:00
11 lines
210 B
Go
11 lines
210 B
Go
package connect
|
|
|
|
// Error is a type implementing the error interface. We use this to define
|
|
// constant errors.
|
|
type Error string
|
|
|
|
// Error implements error.
|
|
func (e Error) Error() string {
|
|
return string(e)
|
|
}
|