Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
error_handler Class Reference
[error_handler]
Error handler for when throwing exceptions is not required. More...
#include <error_handler.h>
Data Structures | |
struct | free_function |
Callback class for free handler functions. More... | |
struct | member_function |
Callback class for member handler functions. More... | |
Static Public Member Functions | |
static void | set_callback (ifunction< const etl::exception & > &f) |
Sets the error callback function. | |
static void | error (const etl::exception &e) |
Sends the exception error to the user's handler function. |
Detailed Description
Error handler for when throwing exceptions is not required.
Definition at line 51 of file error_handler.h.
Member Function Documentation
void error | ( | const etl::exception & | e ) | [static] |
Sends the exception error to the user's handler function.
- Parameters:
-
e The exception error.
Definition at line 53 of file error_handler.cpp.
void set_callback | ( | ifunction< const etl::exception & > & | f ) | [static] |
Sets the error callback function.
- Parameters:
-
f A reference to an etl::function object that will handler errors.
Definition at line 44 of file error_handler.cpp.
Generated on Tue Jul 12 2022 14:05:49 by
