aws-local-stepfunctions 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/main.d.ts CHANGED
@@ -262,4 +262,25 @@ declare class ExecutionAbortedError extends Error {
262
262
  constructor();
263
263
  }
264
264
 
265
- export { ExecutionAbortedError, ExecutionError, StateMachine };
265
+ /**
266
+ * Base class for all internal errors that can be thrown during the state machine execution.
267
+ */
268
+ declare class RuntimeError extends Error {
269
+ /**
270
+ * Whether this runtime error can be matched in a `Retry` field
271
+ */
272
+ protected retryable: boolean;
273
+ /**
274
+ * Whether this runtime error can be caught in a `Catch` field
275
+ */
276
+ protected catchable: boolean;
277
+ constructor(message: string);
278
+ get isRetryable(): boolean;
279
+ get isCatchable(): boolean;
280
+ }
281
+
282
+ declare class StatesTimeoutError extends RuntimeError {
283
+ constructor();
284
+ }
285
+
286
+ export { ExecutionAbortedError, ExecutionError, StatesTimeoutError as ExecutionTimeoutError, StateMachine };