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 5 years ago
Relevant content
- Accepted Answerasked a year ago
- asked 8 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago