From 6839b39f54ca27fec1acdebbc8f1c36a715a8ae9 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sun, 20 Dec 2015 21:14:03 +0100 Subject: Simplify --- errors.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'errors.go') diff --git a/errors.go b/errors.go index 10053b7..60eb636 100644 --- a/errors.go +++ b/errors.go @@ -26,7 +26,3 @@ var urnErrors = map[string]error{ "urn:acme:error:unauthorized": ErrUnauthorized, "urn:acme:error:unknownHost": ErrUnknownHost, } - -func (p Problem) Error() string { - return p.Detail -} -- cgit v1.2.3