X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2Fapi%2Fexceptions%2FApiTagNotFoundException.php;fp=application%2Fapi%2Fexceptions%2FApiTagNotFoundException.php;h=eee152fe273375d3b5bd765f198552e363e21ee8;hb=38672ba0d1c722e5d6d33a58255ceb55e9410e46;hp=0000000000000000000000000000000000000000;hpb=83faedadff76c5bdca036f39f13943f63b27e164;p=github%2Fshaarli%2FShaarli.git diff --git a/application/api/exceptions/ApiTagNotFoundException.php b/application/api/exceptions/ApiTagNotFoundException.php new file mode 100644 index 00000000..eee152fe --- /dev/null +++ b/application/api/exceptions/ApiTagNotFoundException.php @@ -0,0 +1,31 @@ +message = 'Tag not found'; + } + + /** + * {@inheritdoc} + */ + public function getApiResponse() + { + return $this->buildApiResponse(404); + } +}