postchain-client
Version:
Client library for accessing a Postchain node through REST.
11 lines • 330 B
JavaScript
export class PrivKeyFormatException extends Error {
constructor(privKey) {
super(`Invalid key length. Expected 32, but got ${privKey.length}`);
}
}
export class MissingPrivKeyArgumentException extends Error {
constructor() {
super(`Missing argument privKey`);
}
}
//# sourceMappingURL=errors.js.map