# File lib/aws/dynamo_db/errors.rb, line 27 def extract_message(response) if response and response.body != '' JSON.load(response.body)["message"] || code elsif code == 'RequestEntityTooLarge' 'Request body must be less than 1 MB' else code end end