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