Eo: Implement handling of eo_do errors and use it.