created procedure get_errors_notf