go-tunnel/error.go

13 lines
398 B
Go

package tunnel
import "errors"
var (
ErrNotConnected = errors.New("not connected")
ErrCouldNotConnect = errors.New("could not connect")
ErrConnectionClosed = errors.New("connection closed")
ErrAuthenticationFailed = errors.New("authentication failed")
ErrUnexpectedMessage = errors.New("unexpected message")
ErrUnexpectedResponse = errors.New("unexpected response")
)