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