diff options
author | ArthurHoaro <arthur@hoa.ro> | 2019-05-25 15:46:47 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-01-17 18:42:11 +0100 |
commit | 336a28fa4a09b968ce4705900bf57693e672f0bf (patch) | |
tree | b3773e674a59c441270a56441fbadfa619527940 /application/bookmark/exception/BookmarkNotFoundException.php | |
parent | 796c4c57d085ae4589b53dfe8369ae9ba30ffdaf (diff) | |
download | Shaarli-336a28fa4a09b968ce4705900bf57693e672f0bf.tar.gz Shaarli-336a28fa4a09b968ce4705900bf57693e672f0bf.tar.zst Shaarli-336a28fa4a09b968ce4705900bf57693e672f0bf.zip |
Introduce Bookmark object and Service layer to retrieve them
See https://github.com/shaarli/Shaarli/issues/1307 for details
Diffstat (limited to 'application/bookmark/exception/BookmarkNotFoundException.php')
-rw-r--r-- | application/bookmark/exception/BookmarkNotFoundException.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/application/bookmark/exception/BookmarkNotFoundException.php b/application/bookmark/exception/BookmarkNotFoundException.php new file mode 100644 index 00000000..827a3d35 --- /dev/null +++ b/application/bookmark/exception/BookmarkNotFoundException.php | |||
@@ -0,0 +1,15 @@ | |||
1 | <?php | ||
2 | namespace Shaarli\Bookmark\Exception; | ||
3 | |||
4 | use Exception; | ||
5 | |||
6 | class BookmarkNotFoundException 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 | } | ||