@Generated(value="jsii-pacmak/1.5.0 (build 46538f8)", date="2020-05-15T23:35:58.907Z") @Stability(value=Experimental) public interface CatchProps extends software.amazon.jsii.JsiiSerializable
EXPERIMENTAL
| Modifier and Type | Interface and Description |
|---|---|
static class |
CatchProps.Builder
A builder for
CatchProps |
static class |
CatchProps.Jsii$Proxy
An implementation for
CatchProps |
| Modifier and Type | Method and Description |
|---|---|
static CatchProps.Builder |
builder() |
default List<String> |
getErrors()
Errors to recover from by going to the given state.
|
default String |
getResultPath()
JSONPath expression to indicate where to inject the error data.
|
@Stability(value=Experimental) @Nullable default List<String> getErrors()
A list of error strings to retry, which can be either predefined errors (for example Errors.NoChoiceMatched) or a self-defined error.
Default: All errors
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default String getResultPath()
May also be the special value DISCARD, which will cause the error data to be discarded.
Default: $
EXPERIMENTAL
@Stability(value=Experimental) static CatchProps.Builder builder()
CatchProps.Builder of CatchPropsCopyright © 2020. All rights reserved.