MyShaarli/application/bookmark/exception/NotWritableDataStoreException.php

18 lines
439 B
PHP
Raw Permalink Normal View History

2023-05-24 11:35:15 +02:00
<?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.';
}
}