WPILibC++ 2025.2.1
Loading...
Searching...
No Matches
wpi::ScopedFatalErrorHandler Struct Reference

ScopedFatalErrorHandler - This is a simple helper class which just calls install_fatal_error_handler in its constructor and remove_fatal_error_handler in its destructor. More...

#include <wpi/ErrorHandling.h>

Public Member Functions

 ScopedFatalErrorHandler (fatal_error_handler_t handler, void *user_data=nullptr)
 
 ~ScopedFatalErrorHandler ()
 

Detailed Description

ScopedFatalErrorHandler - This is a simple helper class which just calls install_fatal_error_handler in its constructor and remove_fatal_error_handler in its destructor.

Constructor & Destructor Documentation

◆ ScopedFatalErrorHandler()

wpi::ScopedFatalErrorHandler::ScopedFatalErrorHandler ( fatal_error_handler_t handler,
void * user_data = nullptr )
inlineexplicit

◆ ~ScopedFatalErrorHandler()

wpi::ScopedFatalErrorHandler::~ScopedFatalErrorHandler ( )
inline

The documentation for this struct was generated from the following file: