StormByte C++ Library: Network module 0.0.9999
StormByte-Network is a StormByte library module for handling and create network connections
Loading...
Searching...
No Matches
exception.hxx
1#pragma once
2
3#include <StormByte/exception.hxx>
4#include <StormByte/network/visibility.h>
5
10namespace StormByte::Network {
15 class STORMBYTE_NETWORK_PUBLIC Exception: public StormByte::Exception {
16 public:
20 using StormByte::Exception::Exception;
21 };
22
27 class ConnectionError: public Exception {
28 public:
32 using Exception::Exception;
33 };
34
39 class STORMBYTE_NETWORK_PUBLIC ConnectionClosed final: public Exception {
40 public:
44 using Exception::Exception;
45 };
46
51 class STORMBYTE_NETWORK_PUBLIC PacketError final: public Exception {
52 public:
56 using Exception::Exception;
57 };
58}
The class representing a terminated connection.
Definition exception.hxx:39
The class representing an error in the connection.
Definition exception.hxx:27
The class representing an exception in the network module.
Definition exception.hxx:15
The class representing an error in the packet.
Definition exception.hxx:51
Contains all the network-related classes and utilities.
Definition client.hxx:10