The mysqli_error_list() function returns a list of errors for the most recent function call on a
specific connection. Each error in the list contains the error number, description, and SQL state.
Practical use: This function is very useful when executing complex operations where multiple errors can occur simultaneously. Instead of a single description, we get a clear list. Test it at home like this: