OxL Reference

error rpc-attr

error Standard: [§10.2]

What it means#

The attributes of an rpc are @timeout(d), @retry(n, backoff: b), @idempotent(key: f), @readonly, @cache(ttl: d, key: f), @ratelimit(rps: n, burst: m, by: f), @public, @internal, @allow(…), @resumable, @window(n), @trace(sample: p), @audit. Durations and counts are compile-time values.

Example#

oxl✓ checked in CI
service S {
  @timeout(0ms)         // <- rpc-attr
  rpc get() -> i32
}
error
rpc-attr

How to fix#

Fix the argument or remove the attribute.

See also#

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