When can I appeal a court order instead of filing a mandamus in Texas?

This question has been addressed in 0 Texas court opinions: