CARLA
TimeoutException.cpp
Go to the documentation of this file.
1 // Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma
2 // de Barcelona (UAB).
3 //
4 // This work is licensed under the terms of the MIT license.
5 // For a copy, see <https://opensource.org/licenses/MIT>.
6 
8 
9 namespace carla {
10 namespace client {
11 
12  using namespace std::string_literals;
13 
15  const std::string &endpoint,
16  time_duration timeout)
17  : std::runtime_error(
18  "time-out of "s + std::to_string(timeout.milliseconds()) +
19  "ms while waiting for the simulator, "
20  "make sure the simulator is ready and connected to " + endpoint) {}
21 
22 } // namespace client
23 } // namespace carla
This file contains definitions of common data structures used in traffic manager. ...
Definition: Carla.cpp:133
TimeoutException(const std::string &endpoint, time_duration timeout)
Positive time duration up to milliseconds resolution.
Definition: Time.h:19