go-errhttp/error.go

8 lines
76 B
Go

package errhttp
type Error interface {
error
ErrHTTP()
Unwrap() error
}