pub fn error_to_json(error: &SqsError) -> Vec<u8> ⓘExpand description
Serialize an SQS error into a JSON response body.
The error format follows the AWS SQS JSON protocol:
{
"__type": "AWS.SimpleQueueService.NonExistentQueue",
"message": "The specified queue does not exist."
}