14 lines
468 B
Go
14 lines
468 B
Go
package keyring
|
|
|
|
import "github.com/pkg/errors"
|
|
|
|
var (
|
|
// ErrUnsupportedSigningAlgo is raised when the caller tries to use a
|
|
// different signing scheme than secp256k1.
|
|
ErrUnsupportedSigningAlgo = errors.New("unsupported signing algo")
|
|
|
|
// ErrUnsupportedLanguage is raised when the caller tries to use a
|
|
// different language than english for creating a mnemonic sentence.
|
|
ErrUnsupportedLanguage = errors.New("unsupported language: only english is supported")
|
|
)
|