diff --git a/server/errors.go b/server/errors.go index e5db4f42..f12903e6 100644 --- a/server/errors.go +++ b/server/errors.go @@ -40,14 +40,14 @@ var ( // ErrReservedPublishSubject represents an error condition when sending to a reserved subject, e.g. _SYS.> ErrReservedPublishSubject = errors.New("reserved internal subject") - // ErrBadClientProtocol signals a client requested an invalud client protocol. + // ErrBadClientProtocol signals a client requested an invalid client protocol. ErrBadClientProtocol = errors.New("invalid client protocol") // ErrTooManyConnections signals a client that the maximum number of connections supported by the // server has been reached. ErrTooManyConnections = errors.New("maximum connections exceeded") - // ErrTooManyAccountConnections signals that an acount has reached its maximum number of active + // ErrTooManyAccountConnections signals that an account has reached its maximum number of active // connections. ErrTooManyAccountConnections = errors.New("maximum account active connections exceeded")