]>
git.immae.eu Git - github/shaarli/Shaarli.git/blob - application/api/exceptions/ApiTagNotFoundException.php
3 namespace Shaarli\Api\Exceptions
;
5 use Slim\Http\Response
;
8 * Class ApiTagNotFoundException
10 * Tag selected by name couldn't be found in the datastore, results in a 404 error.
12 * @package Shaarli\Api\Exceptions
14 class ApiTagNotFoundException
extends ApiException
17 * ApiLinkNotFoundException constructor.
19 public function __construct()
21 $this->message
= 'Tag not found';
27 public function getApiResponse()
29 return $this->buildApiResponse(404);