src/Platfourm/Auth/Exceptions/ForbiddenException.php 1 location
|
@@ 15-26 (lines=12) @@
|
12 |
|
|
13 |
|
use Symfony\Component\HttpKernel\Exception\HttpException; |
14 |
|
|
15 |
|
class ForbiddenException extends HttpException |
16 |
|
{ |
17 |
|
public function __construct( |
18 |
|
$message = null, |
19 |
|
$statusCode = 403, |
20 |
|
\Exception $previous = null, |
21 |
|
array $headers = array(), |
22 |
|
$code = 0 |
23 |
|
) { |
24 |
|
parent::__construct($statusCode, $message, $previous, $headers, $code); |
25 |
|
} |
26 |
|
} |
27 |
|
|
src/Platfourm/Auth/Exceptions/UnauthorizedException.php 1 location
|
@@ 15-26 (lines=12) @@
|
12 |
|
|
13 |
|
use Symfony\Component\HttpKernel\Exception\HttpException; |
14 |
|
|
15 |
|
class UnauthorizedException extends HttpException |
16 |
|
{ |
17 |
|
public function __construct( |
18 |
|
$message = null, |
19 |
|
$statusCode = 401, |
20 |
|
\Exception $previous = null, |
21 |
|
array $headers = array(), |
22 |
|
$code = 0 |
23 |
|
) { |
24 |
|
parent::__construct($statusCode, $message, $previous, $headers, $code); |
25 |
|
} |
26 |
|
} |
27 |
|
|
src/Platfourm/Foundation/Exceptions/ForbiddenException.php 1 location
|
@@ 15-26 (lines=12) @@
|
12 |
|
|
13 |
|
use Symfony\Component\HttpKernel\Exception\HttpException; |
14 |
|
|
15 |
|
class ForbiddenException extends HttpException |
16 |
|
{ |
17 |
|
public function __construct( |
18 |
|
$message = null, |
19 |
|
$statusCode = 403, |
20 |
|
\Exception $previous = null, |
21 |
|
array $headers = array(), |
22 |
|
$code = 0 |
23 |
|
) { |
24 |
|
parent::__construct($statusCode, $message, $previous, $headers, $code); |
25 |
|
} |
26 |
|
} |
27 |
|
|
src/Platfourm/Foundation/Exceptions/UnauthorizedException.php 1 location
|
@@ 15-26 (lines=12) @@
|
12 |
|
|
13 |
|
use Symfony\Component\HttpKernel\Exception\HttpException; |
14 |
|
|
15 |
|
class UnauthorizedException extends HttpException |
16 |
|
{ |
17 |
|
public function __construct( |
18 |
|
$message = null, |
19 |
|
$statusCode = 401, |
20 |
|
\Exception $previous = null, |
21 |
|
array $headers = array(), |
22 |
|
$code = 0 |
23 |
|
) { |
24 |
|
parent::__construct($statusCode, $message, $previous, $headers, $code); |
25 |
|
} |
26 |
|
} |
27 |
|
|
src/Platfourm/Foundation/Exceptions/ValueNotFoundException.php 1 location
|
@@ 15-26 (lines=12) @@
|
12 |
|
|
13 |
|
use Symfony\Component\HttpKernel\Exception\HttpException; |
14 |
|
|
15 |
|
class ValueNotFoundException extends HttpException |
16 |
|
{ |
17 |
|
public function __construct( |
18 |
|
$message = null, |
19 |
|
$statusCode = 204, |
20 |
|
\Exception $previous = null, |
21 |
|
array $headers = array(), |
22 |
|
$code = 0 |
23 |
|
) { |
24 |
|
parent::__construct($statusCode, $message, $previous, $headers, $code); |
25 |
|
} |
26 |
|
} |
27 |
|
|