github.com/volatiletech/authboss@v2.4.1+incompatible/errors.go (about) 1 package authboss 2 3 import ( 4 "net/http" 5 ) 6 7 // ErrorHandler allows routing to http.HandlerFunc's that additionally 8 // return an error for a higher level error handling mechanism. 9 type ErrorHandler interface { 10 Wrap(func(w http.ResponseWriter, r *http.Request) error) http.Handler 11 }