In particular, register the `Ecoproto_error` at the same time the functor `Environment.Make` is applied.