This repository has been archived on 2023-04-09. You can view files and clone it, but cannot push or open issues or pull requests.
2020-11-29 14:28:30 +00:00
|
|
|
/**
|
|
|
|
* Indicate that this error is expected and should not be ignored
|
|
|
|
* by the functional interface try / catch blocks
|
|
|
|
*/
|
|
|
|
export class ExpectedError extends Error {}
|
2020-11-29 23:35:42 +00:00
|
|
|
|
|
|
|
export class ZeroPrivateKeyError extends Error {
|
|
|
|
constructor() {
|
|
|
|
super("PRIVATE_KEY_IS_ZERO");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export class ZeroPublicKeyError extends Error {
|
|
|
|
constructor() {
|
|
|
|
super("PUBLIC_KEY_IS_ZERO");
|
|
|
|
}
|
|
|
|
}
|