1
0
mirror of https://github.com/xPaw/PHP-Source-Query.git synced 2026-05-18 13:53:35 +02:00

Throw SocketException when trying to call query functions when not being connected

This commit is contained in:
Pavel Djundik
2015-10-18 21:56:34 +03:00
parent a63112c2c9
commit f18f3208fa
2 changed files with 33 additions and 3 deletions
@@ -15,4 +15,5 @@
class SocketException extends SourceQueryException
{
const COULD_NOT_CREATE_SOCKET = 1;
const NOT_CONNECTED = 2;
}