export interface WorkflowTaskFailed { 'error_type'?: (string); 'error_message'?: (string); 'error_details'?: (Buffer | Uint8Array | string); /** * best-effort query state before failure */ 'query_states'?: ({ [key: string]: Buffer | Uint8Array | string; }); /** * T2: TYPED nondeterminism classification (P11.2). True when the SDK's own * step-identity validation (Design Law 1) detected control-flow drift — * the server transitions the run to the RESUMABLE * BLOCKED_NONDETERMINISTIC status instead of FAILED. This flag, set by * the SDK from its NonDeterminismError type (instanceof/isinstance — * never by error-name string), IS the wire contract; error_type stays * purely informational. A user-defined error that merely shares the name * gets ordinary failure semantics. */ 'nondeterminism'?: (boolean); } export interface WorkflowTaskFailed__Output { 'error_type': (string); 'error_message': (string); 'error_details': (Buffer); /** * best-effort query state before failure */ 'query_states': ({ [key: string]: Buffer; }); /** * T2: TYPED nondeterminism classification (P11.2). True when the SDK's own * step-identity validation (Design Law 1) detected control-flow drift — * the server transitions the run to the RESUMABLE * BLOCKED_NONDETERMINISTIC status instead of FAILED. This flag, set by * the SDK from its NonDeterminismError type (instanceof/isinstance — * never by error-name string), IS the wire contract; error_type stays * purely informational. A user-defined error that merely shares the name * gets ordinary failure semantics. */ 'nondeterminism': (boolean); }