Update occurrences of ESPError to the new API

See commit d589fe1.