github.com/prysmaticlabs/prysm@v1.4.4/shared/bls/common/error.go (about)

     1  package common
     2  
     3  import "errors"
     4  
     5  // ErrZeroKey describes an error due to a zero secret key.
     6  var ErrZeroKey = errors.New("received secret key is zero")
     7  
     8  // ErrSecretUnmarshal describes an error which happens during unmarshalling
     9  // a secret key.
    10  var ErrSecretUnmarshal = errors.New("could not unmarshal bytes into secret key")
    11  
    12  // ErrInfinitePubKey describes an error due to an infinite public key.
    13  var ErrInfinitePubKey = errors.New("received an infinite public key")