go-tunnel/error.go

13 lines
398 B
Go
Raw Normal View History

2020-10-21 18:00:15 +02:00
package tunnel
import "errors"
var (
2020-10-26 19:42:07 +01:00
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")
2020-10-21 18:00:15 +02:00
)