go-tunnel/error.go

13 lines
376 B
Go
Raw Normal View History

2020-10-21 18:00:15 +02:00
package tunnel
import "errors"
var (
ErrNotConnected = errors.New("not connected")
ErrCouldNotConnect = errors.New("could not connect")
ErrConnectionClosed = errors.New("connection closed")
ErrAuthFailed = errors.New("auth failed")
ErrUnexpectedMessage = errors.New("unexpected message")
ErrUnexpectedResponse = errors.New("unexpected response")
)