OxL Reference

error service-not-served

error Standard: [§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✓ checked in 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#

See also

OxL 1.0.0-beta · Documentation version 1.0.0-beta© OxwaldLink · generated from the Standard, the std sources and the guides