Skip to main content

Module error

Module error 

Source
Expand description

DCPS error types. Modeled on OMG DDS 1.4 §2.2.2.1 ReturnCode_t, but as a Rust Result<T, DdsError> — considerably nicer than sprayed error codes.

Modules§

return_code
OMG DDS 1.4 ReturnCode_t values. Disjoint with Result::OkRETCODE_OK = 0 is not in this list because Ok is represented via Result::Ok.

Enums§

DdsError
Errors from DCPS operations. Roughly analogous to the spec ReturnCode_t enum; we omit RETCODE_OK (using Result::Ok instead) and merge BAD_PARAMETER + PRECONDITION_NOT_MET where the distinction doesn’t help.

Type Aliases§

Result
Shorthand for DCPS results.