@sap_oss/wdio-qmate-service
Version:
[](https://api.reuse.software/info/github.com/SAP/wdio-qmate-service)[](http
14 lines (13 loc) • 572 B
TypeScript
export interface IErrorHandler {
logException(error: unknown | Error, customErrorMessage?: string): Promise<never>;
}
export declare class QmateError extends Error {
constructor(message: string, displayStack: boolean);
private _getFormattedStackTrace;
}
export default class ErrorHandler implements IErrorHandler {
logException(errorObject: unknown | Error, customErrorMessage?: string, logStackTrace?: boolean): never;
private _retrieveLastLevelFunctionNameFromStack;
private _isThirdPartyModuleIncludedInStack;
private _formatStackMessage;
}