aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/front/exceptions/ResourcePermissionException.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/front/exceptions/ResourcePermissionException.php')
-rw-r--r--application/front/exceptions/ResourcePermissionException.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/application/front/exceptions/ResourcePermissionException.php b/application/front/exceptions/ResourcePermissionException.php
new file mode 100644
index 00000000..8fbf03b9
--- /dev/null
+++ b/application/front/exceptions/ResourcePermissionException.php
@@ -0,0 +1,13 @@
1<?php
2
3declare(strict_types=1);
4
5namespace Shaarli\Front\Exception;
6
7class ResourcePermissionException extends ShaarliFrontException
8{
9 public function __construct(string $message)
10 {
11 parent::__construct($message, 500);
12 }
13}