Arduino KVComm  master
Key-Value pair communication library for Arduino
vector.cpp
Go to the documentation of this file.
1 #ifdef TEENSYDUINO
2 #include "vector"
3 #include <AH/Error/Error.hpp>
4 
5 namespace std {
6 void __throw_bad_alloc() { FATAL_ERROR(F("bad_alloc"), 0x6371); }
7 
8 void __throw_length_error(char const *e) {
9  FATAL_ERROR(F("length_error: ") << e, 0x6372);
10 }
11 } // namespace std
12 #endif
Error.hpp
FATAL_ERROR
#define FATAL_ERROR(msg, errc)
Print the error message and error code, and stop the execution.
Definition: Error.hpp:60
F
#define F(x)
Definition: KV_Error.hpp:38
std
Definition: vector.cpp:5