An expression of surprise or annoyance.
¡Diantres! No esperaba verte aquí en medio de tanta gente.
Goodness! I didn't expect to see you here in the middle of so many people.
¡Diantres! No esperaba que el examen fuera tan difícil.
Goodness! I didn't expect the exam to be so difficult.