336a28fa4a
See https://github.com/shaarli/Shaarli/issues/1307 for details
19 lines
438 B
PHP
19 lines
438 B
PHP
<?php
|
|
|
|
|
|
namespace Shaarli\Bookmark\Exception;
|
|
|
|
|
|
class NotWritableDataStoreException extends \Exception
|
|
{
|
|
/**
|
|
* NotReadableDataStore constructor.
|
|
*
|
|
* @param string $dataStore file path
|
|
*/
|
|
public function __construct($dataStore)
|
|
{
|
|
$this->message = 'Couldn\'t load data from the data store file "'. $dataStore .'". '.
|
|
'Your data might be corrupted, or your file isn\'t readable.';
|
|
}
|
|
}
|