diff --git a/src/main/php/web/NotFound.class.php b/src/main/php/web/NotFound.class.php index f95da364..74761388 100755 --- a/src/main/php/web/NotFound.class.php +++ b/src/main/php/web/NotFound.class.php @@ -3,6 +3,12 @@ class NotFound extends Error { public $path; + /** + * Creates a "Not Found" error + * + * @param string $path + * @param ?lang.Throwable $cause + */ public function __construct($path, $cause= null) { parent::__construct(404, 'Cannot find '.$path, $cause); $this->path= $path;