UNPKG

@sap_oss/wdio-qmate-service

Version:

[![REUSE status](https://api.reuse.software/badge/github.com/SAP/wdio-qmate-service)](https://api.reuse.software/info/github.com/SAP/wdio-qmate-service)[![Node.js CI](https://github.com/SAP/wdio-qmate-service/actions/workflows/node.js.yml/badge.svg)](http

12 lines (11 loc) 596 B
import { DecryptionOptions } from "../../types/common"; export default abstract class ErrorHandler { static UNKNOWN_ERROR_MESSAGE: string; static NO_PUBLIC_KEY_ERROR_MESSAGE: string; static NO_PRIVATE_KEY_ERROR_MESSAGE: string; static INVALID_PRIVATE_KEY_ERROR_MESSAGE: string; static DECRYPTION_ERROR_MESSAGE: string; static handleAndThrowError(error: Error | unknown, customMessage?: string): never; static handleDecryptDataWithPasswordError(error: Error, options: DecryptionOptions): string; static handleDecryptDataWithPrivateKeyError(error: Error): string; }