def format_validation_error(err):
    path = '/'.join(err.path)
    if path:
        return ((path + ' ') + err.message)
    return err.message
def format_validation_error(err):
    path = '/'.join(err.path)
    if path:
        return ((path + ' ') + err.message)
    return err.message