1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29<?php
/**
* Directus โ <http://getdirectus.com>
*
* @link The canonical repository โ <https://github.com/directus/directus>
* @copyright Copyright 2006-2017 RANGER Studio, LLC โ <http://rangerstudio.com>
* @license GNU General Public License (v3) โ <http://www.gnu.org/copyleft/gpl.html>
*/
namespace Directus\Exception;
interface HttpExceptionInterface
{
/**
* Returns HTTP status code
*
* @return int
*/
public function getHttpStatus();
/**
* Returns HTTP headers
*
* @return array headers
*/
public function getHttpHeaders();
}