durable-execution-sdk-js-testing.contextdetails.md

December 2, 2025 ยท View on GitHub

Home > @aws/durable-execution-sdk-js-testing > ContextDetails

ContextDetails interface

Details for a context operation result, containing either a successful result or an error.

Signature:

export interface ContextDetails<TResult = unknown>

Properties

Property

Modifiers

Type

Description

error

readonly

TestResultError | undefined

The error that occurred during the context operation, if any

result

readonly

TResult | undefined

The successful result of the context operation, if available