Files
KubePi/thirdparty/gotty/webtty/errors.go
2021-09-27 18:40:57 +08:00

17 lines
401 B
Go

package webtty
import (
"errors"
)
var (
// ErrSlaveClosed indicates the function has exited by the slave
ErrSlaveClosed = errors.New("slave closed")
// ErrSlaveClosed is returned when the slave connection is closed.
ErrMasterClosed = errors.New("master closed")
// ErrConnectionLostPing is returned if no ping within a duration
ErrConnectionLostPing = errors.New("connection lost ping")
)