Commit 0a5245e5 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Remove unused package

parent 3aaadb1b
package requesterror
import (
"fmt"
"net/http"
)
// For errors that occur while handling an HTTP request it is often
// relevant what the request was for. This helper lets us consistently
// embed request metadata in the error message.
func New(context string, r *http.Request, format string, a ...interface{}) error {
return fmt.Errorf("%s: %s %q: %s", context, r.Method, r.RequestURI, fmt.Sprintf(format, a...))
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment