

def error(self, type_, status=400):
    return (status, self.response_headers, dynamo_json_dump({
        '__type': type_,
    }))

dataset/ETHPy150Open spulec/moto/moto/dynamodb/responses.py DynamoHandler.error/original