github.com/ronaksoft/rony@v0.16.26-0.20230807065236-1743dbfe6959/edgec/error.go (about)

     1  package edgec
     2  
     3  import (
     4  	"fmt"
     5  )
     6  
     7  /*
     8     Creation Time: 2020 - Jul - 31
     9     Created by:  (ehsan)
    10     Maintainers:
    11        1.  Ehsan N. Moosa (E2)
    12     Auditor: Ehsan N. Moosa (E2)
    13     Copyright Ronak Software Group 2020
    14  */
    15  
    16  var (
    17  	ErrNoConnection      = fmt.Errorf("no connection")
    18  	ErrNoHost            = fmt.Errorf("no host")
    19  	ErrTimeout           = fmt.Errorf("time out")
    20  	ErrReplicaMaster     = fmt.Errorf("leader redirect")
    21  	ErrReplicaSetSession = fmt.Errorf("replica redirect session")
    22  	ErrReplicaSetRequest = fmt.Errorf("replica redirect request")
    23  	ErrUnknownResponse   = fmt.Errorf("unknown response")
    24  )