Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrAuthenticationFailed indicates a failure to authenticate to the server with the user and password provided. ErrAuthenticationFailed = errors.New("could not authenticate to the XMPP server") // ErrGoogleAuthenticationFailed indicates a failure to authenticate to the server with the user and password provided. ErrGoogleAuthenticationFailed = errors.New("could not authenticate to the Google XMPP server") //ErrConnectionFailed indicates a failure to connect to the server provided. ErrConnectionFailed = errors.New("could not connect to XMPP server") //ErrTCPBindingFailed indicates a failure to determine a server address for the given origin domain ErrTCPBindingFailed = errors.New("failed to find a TCP address for XMPP server") )
Functions ¶
This section is empty.
Types ¶
type ErrFailedToConnect ¶
ErrFailedToConnect is an error representing connection failure
func CreateErrFailedToConnect ¶
func CreateErrFailedToConnect(addr string, err error) *ErrFailedToConnect
CreateErrFailedToConnect will create a ErrFailedToConnect from the given data
func (*ErrFailedToConnect) Error ¶
func (e *ErrFailedToConnect) Error() string
Click to show internal directories.
Click to hide internal directories.