Files
weave-scope/vendor/github.com/nats-io/gnatsd/server/errors.go
Tom Wilkie a7b34f1601 Use NATS for shortcut reports in the service. (#1568)
* Vendor nats-io/nats

* Use NATS for shortcut reports.

* Review feedback.

* Rejig shortcut subscriptions, so they work.

* Review feedback
2016-06-09 12:48:41 +01:00

20 lines
623 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")
// ErrAuthTimeout represents error condition on failed authorization due to timeout.
ErrAuthTimeout = errors.New("Authorization Timeout")
// ErrMaxPayload represents error condition when the payload is too big.
ErrMaxPayload = errors.New("Maximum Payload Exceeded")
)