]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - application/bookmark/exception/NotWritableDataStoreException.php
Merge pull request #1694 from ArthurHoaro/fix/bulk-add-redirect-token
[github/shaarli/Shaarli.git] / application / bookmark / exception / NotWritableDataStoreException.php
CommitLineData
336a28fa
A
1<?php
2
336a28fa
A
3namespace Shaarli\Bookmark\Exception;
4
336a28fa
A
5class NotWritableDataStoreException extends \Exception
6{
7 /**
8 * NotReadableDataStore constructor.
9 *
10 * @param string $dataStore file path
11 */
12 public function __construct($dataStore)
13 {
53054b2b 14 $this->message = 'Couldn\'t load data from the data store file "' . $dataStore . '". ' .
336a28fa
A
15 'Your data might be corrupted, or your file isn\'t readable.';
16 }
17}