throw source exception if errorInfo is not formatted as expected