Thunderbots Project
Loading...
Searching...
No Matches
tbots_network_exception.h
1#pragma once
2
3#include <string>
4
5class TbotsNetworkException : public std::exception
6{
7 public:
13 TbotsNetworkException(const std::string& message) : message(message) {}
14
15 virtual const char* what() const noexcept override;
16
17 private:
18 std::string message; // Explanation of the exception
19};
Definition tbots_network_exception.h:6
TbotsNetworkException(const std::string &message)
Definition tbots_network_exception.h:13