]>
Commit | Line | Data |
---|---|---|
1 | <?php | |
2 | ||
3 | namespace Shaarli\Bookmark\Exception; | |
4 | ||
5 | class NotWritableDataStoreException extends \Exception | |
6 | { | |
7 | /** | |
8 | * NotReadableDataStore constructor. | |
9 | * | |
10 | * @param string $dataStore file path | |
11 | */ | |
12 | public function __construct($dataStore) | |
13 | { | |
14 | $this->message = 'Couldn\'t load data from the data store file "' . $dataStore . '". ' . | |
15 | 'Your data might be corrupted, or your file isn\'t readable.'; | |
16 | } | |
17 | } |