github.com/status-im/status-go@v1.1.0/protocol/errors.go (about)

     1  package protocol
     2  
     3  import (
     4  	"github.com/pkg/errors"
     5  )
     6  
     7  var (
     8  	ErrChatIDEmpty      = errors.New("chat ID is empty")
     9  	ErrChatNotFound     = errors.New("can't find chat")
    10  	ErrNotImplemented   = errors.New("not implemented")
    11  	ErrContactNotFound  = errors.New("contact not found")
    12  	ErrCommunityIDEmpty = errors.New("community ID is empty")
    13  	ErrUserNotMember    = errors.New("user not a member")
    14  )