Files
nextcloud-app-api/lib/Exceptions/AppAPIAuthNotValidException.php
Alexander Piskun 83333b5e0a cleanup: Qualifier -> Imports (#125)
Fixes IDE warnings:

* Qualifier can be replaced with an import
* Argument matches the parameter's default value

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-11-25 10:59:07 +03:00

18 lines
349 B
PHP

<?php
declare(strict_types=1);
namespace OCA\AppAPI\Exceptions;
use Exception;
use OCP\AppFramework\Http;
/**
* @package OCA\AppAPI\Exceptions
*/
class AppAPIAuthNotValidException extends Exception {
public function __construct($message = 'AppAPIAuth failed', $code = Http::STATUS_UNAUTHORIZED) {
parent::__construct($message, $code);
}
}