mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-14 10:10:42 -07:00
Added AuthErr
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user