github.com/0chain/gosdk@v1.17.11/core/transaction/vars.go (about)

     1  package transaction
     2  
     3  import (
     4  	"errors"
     5  )
     6  
     7  var (
     8  	// ErrInvalidRequest invalid request
     9  	ErrInvalidRequest = errors.New("[txn] invalid request")
    10  
    11  	// ErrNoAvailableSharder no any available sharder
    12  	ErrNoAvailableSharder = errors.New("[txn] there is no any available sharder")
    13  
    14  	// ErrNoTxnDetail No transaction detail was found on any of the sharders
    15  	ErrNoTxnDetail = errors.New("[txn] no transaction detail was found on any of the sharders")
    16  
    17  	// ErrTooLessConfirmation too less sharder to confirm transaction
    18  	ErrTooLessConfirmation = errors.New("[txn] too less sharders to confirm it")
    19  )