cleanup error messages

This commit is contained in:
Darien Raymond
2017-04-09 15:04:04 +02:00
parent 0e01e9e9ca
commit 68bc9ea8e4
24 changed files with 78 additions and 78 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ func CreateInboundHandler(ctx context.Context, config interface{}) (Inbound, err
case Inbound:
return h, nil
default:
return nil, newError("Proxy: Not a InboundHandler.")
return nil, newError("not a InboundHandler")
}
}
@@ -28,6 +28,6 @@ func CreateOutboundHandler(ctx context.Context, config interface{}) (Outbound, e
case Outbound:
return h, nil
default:
return nil, newError("Proxy: Not a OutboundHandler.")
return nil, newError("not a OutboundHandler")
}
}