2019-05-25 15:46:47 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Shaarli\Bookmark\Exception;
|
|
|
|
|
|
|
|
class NotWritableDataStoreException extends \Exception
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* NotReadableDataStore constructor.
|
|
|
|
*
|
|
|
|
* @param string $dataStore file path
|
|
|
|
*/
|
|
|
|
public function __construct($dataStore)
|
|
|
|
{
|
2020-09-22 20:25:47 +02:00
|
|
|
$this->message = 'Couldn\'t load data from the data store file "' . $dataStore . '". ' .
|
2019-05-25 15:46:47 +02:00
|
|
|
'Your data might be corrupted, or your file isn\'t readable.';
|
|
|
|
}
|
|
|
|
}
|