pyniryo_nate.exceptions.get_msg_from_errors

pyniryo_nate.exceptions.get_msg_from_errors(errors: list[ErrorDetails]) → str[source]

Get the error message from pydantic errors list. :param errors: The pydantic errors list. :return: The error message.

Parameters:

errors (list[ErrorDetails])

Return type:

str