Help and get_error_message

Added by Martin Honnen over 1 year ago

I am trying to understand the PySchemaValidator API and its proper use, I am kind of confused that get_error_code and get_error_message say Args:nindex (int): The i'th exception but there doesn't seem to be a property or method get the number/count of error message occurred.

Am I supposed to write a while loop trying e.g. get_error_message(i) until the message returns None for a certain value of i? Is there a Python sample showing the use of those methods?

Replies (1)


    Please register to reply