many small updates
[pharext/pharext.org] / app / Github / Exception / UserFetchFailed.php
diff --git a/app/Github/Exception/UserFetchFailed.php b/app/Github/Exception/UserFetchFailed.php
new file mode 100644 (file)
index 0000000..578e106
--- /dev/null
@@ -0,0 +1,10 @@
+<?php
+
+namespace app\Github\Exeption;
+
+class UserFetchFailed extends Exception implements app\Github\Exception\RequestException
+{
+       function __construct($message, $code, $previous = null) {
+               parent::__construct($message ?: "User fetch request failed", $code, $previous);
+       }
+}