aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/bookmark/exception/NotWritableDataStoreException.php
blob: 95f34b505fdfcd028bf90c004a0f72c7ec5f0640 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?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.';
    }
}