Initial commit

This commit is contained in:
2018-09-28 01:33:48 +08:00
Unverified
commit a349d6cd53
6 changed files with 908 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
class HostUndefineException extends Exception {
public function __toString() {
return "Error: You must set a host before use method connect() in " . __FILE__ . ":" . __LINE__;
}
}
class LoginFailedException extends Exception {
public function __toString() {
return "Error: Failed login to ssh server in " . __FILE__ . ":" . __LINE__;
}
}
class NoConnectionException extends Exception {
public function __toString() {
return "Error: You must connect a host before use this method in " . __FILE__ . ":" . __LINE__;
}
}