Skip to content

Add operation identifier to invocation context; allow known errors to be returned from Smoke operation#90

Open
pbthif wants to merge 1 commit intoamzn:mainfrom
pbthif:return_external_call_error
Open

Add operation identifier to invocation context; allow known errors to be returned from Smoke operation#90
pbthif wants to merge 1 commit intoamzn:mainfrom
pbthif:return_external_call_error

Conversation

@pbthif
Copy link
Copy Markdown
Contributor

@pbthif pbthif commented Oct 26, 2021

Issue #, if available:

Description of changes:

  • Add operation identifier to the parameters sent for invocation context initialization.
  • Allow known errors to be returned as typed errors from Smoke operations even when such error is not specified in the operation's allowed errors. Clients can opt-in error types by implementing the SmokeKnownError to specify conformance of errors to known types. For now, the only type available is unrecognizedErrorFromExternalCall.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@pbthif pbthif requested a review from tachyonics October 26, 2021 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant