UNPKG

@serenity-js/core

Version:

The core Serenity/JS framework, providing the Screenplay Pattern interfaces, as well as the test reporting and integration infrastructure

14 lines 541 B
import type { JSONObject } from 'tiny-types'; /** * @group Errors */ export declare class ErrorSerialiser { private static readonly recognisedErrors; static serialise(error: Error): string; static registerErrorTypes(...types: Array<new (...args: any[]) => Error>): void; static deserialise(serialised?: string | JSONObject): Error | undefined; private static isSerialisable; private static isDeserialisable; static deserialiseFromStackTrace(stack: string): Error; } //# sourceMappingURL=ErrorSerialiser.d.ts.map