riot_wrappers

Module error

Source
Expand description

Common error handling components for the RIOT operating system

Most fallible operations in the wrappers produce a NumericError, which is a slightly more precise wrapper around a negative integer. The NegativeErrorExt::negative_to_error() trait method can be used to produce such errors when creating wrappers around C functions.

§Constants

Several commonly used errors are provided as constants rather than requiring the use of NumericError::from_constant for easier use. That list is not created comprehensively but populated on demand. (Copying the full list would needlessly limit RIOT’s ability to slim down the list).

Macros§

  • E 🔒

Structs§

Constants§

  • The predefined error EAGAIN
  • The predefined error EINVAL
  • The predefined error ENOMEM
  • The predefined error ENOSPC
  • The predefined error EOVERFLOW

Traits§