@classmethod
def from_js_error(cls, js_error):
    """Convert a JSON Schema ValidationError instance into a
        ValidationError instance.
        """
    e = cls()
    e.path = list(getattr(js_error, 'releative_path', js_error.path))
    e.message = js_error.message
    e.validator = js_error.validator
    e.validator_value = js_error.validator_value
    e.raw = js_error._contents()
    return e
