Skip to content

Namespace hal::error

Namespace List > hal > error

Error objects, templates, and constants.

Classes

Type Name
struct invalid_option_t <options>
Used for defining static_asserts that should always fail, but only if the static_assert line is hit via if constexpr control block. Prefer to NOT use this directly but to useinvalid_option instead.

Public Attributes

Type Name
constexpr bool invalid_option = = invalid_option_t<options...>::value
Helper definition to simplify the usage of invalid_option_t .

Public Attributes Documentation

variable invalid_option

Helper definition to simplify the usage of invalid_option_t .

constexpr bool hal::error::invalid_option;

Template parameters:

  • options ignored by the application but needed to create a non-trivial specialization of this class which allows its usage in static_assert.

The documentation for this class was generated from the following file libraries/include/libhal/error.hpp