libstp
Robotics library for Botball
Loading...
Searching...
No Matches
libstp::hal::platform::ProbeFailedError Class Reference

#include <Platform.hpp>

Inheritance diagram for libstp::hal::platform::ProbeFailedError:
[legend]
Collaboration diagram for libstp::hal::platform::ProbeFailedError:
[legend]

Public Member Functions

 ProbeFailedError (ProbeResult result)
const ProbeResult & result () const noexcept

Detailed Description

Thrown by Platform::requireHealthy() when at least one required component fails. Carries the full ProbeResult so callers can render a detailed diagnostic without re-running the probe.

Definition at line 85 of file Platform.hpp.

Constructor & Destructor Documentation

◆ ProbeFailedError()

libstp::hal::platform::ProbeFailedError::ProbeFailedError ( ProbeResult result)
explicit

Member Function Documentation

◆ result()

const ProbeResult & libstp::hal::platform::ProbeFailedError::result ( ) const
inlinenodiscardnoexcept

Definition at line 89 of file Platform.hpp.


The documentation for this class was generated from the following file:
  • /home/runner/work/raccoon-lib/raccoon-lib/modules/libstp-hal/include/hal/Platform.hpp