diff options
author | VirtualTam <virtualtam@flibidi.net> | 2018-12-03 01:22:45 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2019-01-12 22:47:48 +0100 |
commit | 6696729b88e67504fdd333cbaab43a63c3617d86 (patch) | |
tree | f617e4108e0a2d41278935f4a2b4528f49e70c6d /application/bookmark/exception | |
parent | f24896b237e40718fb6eaa2869592eb0855a47fd (diff) | |
download | Shaarli-6696729b88e67504fdd333cbaab43a63c3617d86.tar.gz Shaarli-6696729b88e67504fdd333cbaab43a63c3617d86.tar.zst Shaarli-6696729b88e67504fdd333cbaab43a63c3617d86.zip |
namespacing: \Shaarli\Bookmark\LinkFilter
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'application/bookmark/exception')
-rw-r--r-- | application/bookmark/exception/LinkNotFoundException.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/application/bookmark/exception/LinkNotFoundException.php b/application/bookmark/exception/LinkNotFoundException.php new file mode 100644 index 00000000..f9414428 --- /dev/null +++ b/application/bookmark/exception/LinkNotFoundException.php | |||
@@ -0,0 +1,15 @@ | |||
1 | <?php | ||
2 | namespace Shaarli\Bookmark\Exception; | ||
3 | |||
4 | use Exception; | ||
5 | |||
6 | class LinkNotFoundException extends Exception | ||
7 | { | ||
8 | /** | ||
9 | * LinkNotFoundException constructor. | ||
10 | */ | ||
11 | public function __construct() | ||
12 | { | ||
13 | $this->message = t('The link you are trying to reach does not exist or has been deleted.'); | ||
14 | } | ||
15 | } | ||