diff options
Diffstat (limited to 'vendor/github.com/Rhymen/go-whatsapp/errors.go')
-rw-r--r-- | vendor/github.com/Rhymen/go-whatsapp/errors.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/github.com/Rhymen/go-whatsapp/errors.go b/vendor/github.com/Rhymen/go-whatsapp/errors.go index b49960f8..be78ea0f 100644 --- a/vendor/github.com/Rhymen/go-whatsapp/errors.go +++ b/vendor/github.com/Rhymen/go-whatsapp/errors.go @@ -2,6 +2,7 @@ package whatsapp import ( "fmt" + "github.com/pkg/errors" ) @@ -20,6 +21,7 @@ var ( ErrServerRespondedWith404 = errors.New("server responded with status 404") ErrMediaDownloadFailedWith404 = errors.New("download failed with status code 404") ErrMediaDownloadFailedWith410 = errors.New("download failed with status code 410") + ErrInvalidWebsocket = errors.New("invalid websocket") ) type ErrConnectionFailed struct { |