OxL Справочник OxL
РусскийEnglish

error service-not-served

error Стандарт: [§12.1]

Сервис не обслуживается ни одной ролью.

What it means#

When the program has a cluster, every service with an impl must be listed in the serves clause of at least one role.

Example#

oxl✓ проверяется в CI
service S { rpc a() -> i32 }
impl S { rpc a() { 1 } }
cluster c {
  role api { }          // <- service-not-served (S)
}
error
service-not-served

How to fix#

Add serves S to a role.

See also#

OxL 1.0.0-beta · Версия документации 1.0.0-beta© OxwaldLink · сгенерировано из Стандарта, исходников std и руководства