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