2020-10-30 19:06:33 +00:00
|
|
|
package common
|
|
|
|
|
|
|
|
import "errors"
|
|
|
|
|
|
|
|
// ErrZeroKey describes an error due to a zero secret key.
|
|
|
|
var ErrZeroKey = errors.New("received secret key is zero")
|
|
|
|
|
2020-11-17 04:12:23 +00:00
|
|
|
// ErrSecretUnmarshal describes an error which happens during unmarshalling
|
|
|
|
// a secret key.
|
|
|
|
var ErrSecretUnmarshal = errors.New("could not unmarshal bytes into secret key")
|
|
|
|
|
2020-10-30 19:06:33 +00:00
|
|
|
// ErrInfinitePubKey describes an error due to an infinite public key.
|
|
|
|
var ErrInfinitePubKey = errors.New("received an infinite public key")
|
2020-11-17 04:12:23 +00:00
|
|
|
|
|
|
|
// ErrInfiniteSignature describes an error due to an infinite signature.
|
|
|
|
var ErrInfiniteSignature = errors.New("received an infinite signature")
|