aboutsummaryrefslogblamecommitdiffhomepage
path: root/application/bookmark/exception/NotWritableDataStoreException.php
blob: df91f3bce9c25c3101aac855ef99cbdbaa700406 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13

     

                                     








                                                      
                                                                                                


                                                                          
<?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.';
    }
}