ecosystem helper in lib, error handeling for ecosystem