aboutsummaryrefslogtreecommitdiff
path: root/src/Phorkie/Exception/Input.php
blob: 2b675c1df4d7df7a2a2ac62e77a4fea93b4a108f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
namespace Phorkie;

/**
 * Input from e.g. the URL is invalid, like a non-numeric string when one was
 * expected
 */
class Exception_Input extends Exception
{
    public function __construct($msg = '', $code = 0)
    {
        parent::__construct($msg, $code);
        $this->httpStatusCode = 400;
    }
}

?>