-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve errors for SetScratchpadTargetAndActionRequest.from_payload()
If constructing a new SetScratchpadTargetAndActionRequest from payload fails due to invalid values, a new InvalidMessageContents exception is raised. This exception can hold the header of the request message, and it would be possible to generate a response with the corresponding req_id based on the exception.
- Loading branch information
1 parent
afa7ad0
commit 400b1e8
Showing
3 changed files
with
107 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters