mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
17 lines
482 B
Go
17 lines
482 B
Go
// Copyright 2012 Apcera Inc. All rights reserved.
|
|
|
|
package server
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
// ErrConnectionClosed represents error condition on a closed connection.
|
|
ErrConnectionClosed = errors.New("Connection Closed")
|
|
|
|
// ErrAuthorization represents error condition on failed authorization.
|
|
ErrAuthorization = errors.New("Authorization Error")
|
|
|
|
// ErrMaxPayload represents error condition when the payload is too big.
|
|
ErrMaxPayload = errors.New("Maximum Payload Exceeded")
|
|
)
|