Error generation and propagation in Majorana-based topological qubits