Initial Version
This commit is contained in:
21
shared/lib/Resource/Exceptions/UnsupportedException.php
Normal file
21
shared/lib/Resource/Exceptions/UnsupportedException.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace KTXF\Resource\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
/**
|
||||
* Exemption for unauthorized access
|
||||
*/
|
||||
class UnsupportedException extends Exception {
|
||||
|
||||
/**
|
||||
* @param string $message The exception message
|
||||
* @param int $code The exception code
|
||||
* @param Exception|null $previous The previous exception
|
||||
*/
|
||||
public function __construct($message = "Function is not supported", $code = 0, ?Exception $previous = null) {
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user