]>
Commit | Line | Data |
---|---|---|
336a28fa A |
1 | <?php |
2 | ||
336a28fa A |
3 | namespace Shaarli\Bookmark\Exception; |
4 | ||
336a28fa A |
5 | class 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 | } |