UNPKG

@serenity-js/core

Version:

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

15 lines 555 B
import type { JSONObject } from 'tiny-types'; import { CorrelationId } from '../model'; import { Timestamp } from '../screenplay'; import { DomainEvent } from './DomainEvent'; /** * @group Events */ export declare class AsyncOperationFailed extends DomainEvent { readonly error: Error; readonly correlationId: CorrelationId; static fromJSON(o: JSONObject): AsyncOperationFailed; constructor(error: Error, correlationId: CorrelationId, timestamp?: Timestamp); toJSON(): JSONObject; } //# sourceMappingURL=AsyncOperationFailed.d.ts.map