Skip to main content

Module error

Module error 

Source
Expand description

The error strata of ridl §10 that a runtime reports, and the two errors a generated face returns.

Stratum 1, the errors an interface declares, is data and travels in a payload (§10.1). This module holds stratum 2, the contract errors (§10.2), and stratum 3, the detected infrastructure failures (§10.3). It also holds ClientError and ProviderError, which compose those with the port errors into one error per side of a call (ADR-0021 decision 16).

Enums§

CallError
The outcome of a call that did not succeed.
ClientError
The error of a generated client call.
Contract
A contract error, ridl §10.2. Derived from the contract and never declared.
ProviderError
The error a generated serve resolves to.
Transport
An infrastructure failure that the runtime detected, ridl §10.3.