|
CARLA
|
#include <exception>Go to the source code of this file.
Namespaces | |
| namespace | carla |
| This file contains definitions of common data structures used in traffic manager. | |
Functions | |
| template<typename ExceptionT > | |
| void | carla::throw_exception (const ExceptionT &e) |
Templated on the static type so the thrown object keeps its dynamic type: taking a const std::exception & and throw e; would slice every carla::client error down to a bare std::exception (what() == "std::exception"), losing the server's message. | |