UNPKG

@trust/keyto

Version:

A utility for translating cryptographic keys between representations

31 lines (27 loc) 514 B
'use strict' /** * OperationNotSupportedError * @ignore */ class OperationNotSupportedError extends Error { /** * constructor * * @class OperationNotSupportedError * * @description * Thrown when an operation has not been implemented yet * * @throws "This has not been implemented yet" * * @return {OperationNotSupportedError} */ constructor() { super(`This has not been implemented yet`) } } /** * Export * @ignore */ module.exports = OperationNotSupportedError