replace old in-d-gestion error handling with plain throwing Error