Added AuthErr

This commit is contained in:
Derek Collison
2012-12-19 17:48:26 -08:00
parent ac50411dfd
commit de0e018022

View File

@@ -364,7 +364,7 @@ func (c *client) parse(buf []byte) error {
authErr:
c.authViolation()
return fmt.Errorf("Authorization Error")
return ErrAuthorization
parseErr:
c.sendErr("Unknown Protocol Operation")