]>
git.immae.eu Git - github/shaarli/Shaarli.git/blob - application/api/exceptions/ApiTagNotFoundException.php
3 namespace Shaarli\Api\Exceptions
;
6 use Slim\Http\Response
;
9 * Class ApiTagNotFoundException
11 * Tag selected by name couldn't be found in the datastore, results in a 404 error.
13 * @package Shaarli\Api\Exceptions
15 class ApiTagNotFoundException
extends ApiException
18 * ApiLinkNotFoundException constructor.
20 public function __construct()
22 $this->message
= 'Tag not found';
28 public function getApiResponse()
30 return $this->buildApiResponse(404);