14 lines
217 B
C++
14 lines
217 B
C++
#pragma once
|
|
|
|
#include <exception>
|
|
|
|
namespace tw::net {
|
|
|
|
class ByteBufferOverflowException : public std::exception {
|
|
const char* what() const noexcept override {
|
|
return "Byte buffer overflow";
|
|
}
|
|
};
|
|
|
|
}
|