CARLA
TimeoutException.h
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 
7 #pragma once
8 
9 #include "carla/Time.h"
10 
11 #include <stdexcept>
12 #include <string>
13 
14 namespace carla {
15 namespace client {
16 
17  class TimeoutException : public std::runtime_error {
18  public:
19 
20  explicit TimeoutException(
21  const std::string &endpoint,
22  time_duration timeout);
23  };
24 
25 } // namespace client
26 } // 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