errorInfo is an array.