summaryrefslogtreecommitdiff
path: root/src/phorkie/Exception/Input.php
blob: 7f27b42b5a4f56cc14f9f29b28aeb5cf7f92f59a (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;
    }
}

?>