]> git.immae.eu Git - github/shaarli/Shaarli.git/blame_incremental - application/api/exceptions/ApiInternalException.php
docker: build the images from the local sources
[github/shaarli/Shaarli.git] / application / api / exceptions / ApiInternalException.php
... / ...
CommitLineData
1<?php
2
3namespace Shaarli\Api\Exceptions;
4
5/**
6 * Class ApiInternalException
7 *
8 * Generic exception, return a 500 HTTP code.
9 */
10class ApiInternalException extends ApiException
11{
12 /**
13 * @inheritdoc
14 */
15 public function getApiResponse()
16 {
17 return $this->buildApiResponse(500);
18 }
19}