1 Answer
- Newest
- Most votes
- Most comments
0
I figured it out myself. Throw and exception is indeed the approach.
However, there's not much flexible in return message. It's a canned message with prefix.
"PreAuthentication failed with error <your exception message here>"
answered 4 years ago
Relevant content
- asked 7 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 3 years ago