summaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/errors.go b/errors.go
index 42781ea..b2ff902 100644
--- a/errors.go
+++ b/errors.go
@@ -35,14 +35,6 @@ func errAttackNotAllowed() error {
return res
}
-var errAttackHandlerNotSet = libhttp.EndpointResponse{
- E: liberrors.E{
- Code: http.StatusNotAcceptable,
- Message: `the Attack handler is not set`,
- Name: `ERR_ATTACK_HANDLER_NOT_SET`,
- },
-}
-
func errInternal(err error) error {
res := &libhttp.EndpointResponse{
E: liberrors.E{