def _message_with_reason(message, reason):
    if reason is not None:
        message += ' Reason: {}'.format(reason)
    return message
Validates a linestring
dataset/ETHPy150Open s3rvac/retdec-python/retdec/exceptions.py/_message_with_reason--crossover with--dataset/ETHPy150Open MongoEngine/mongoengine/mongoengine/base/fields.py/GeoJsonBaseField._validate_linestring