We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fb254b commit 8c7aac8Copy full SHA for 8c7aac8
src/Application/MicroPresenter.php
@@ -67,7 +67,7 @@ public function run(Application\Request $request): Application\IResponse
67
68
$params = $request->getParameters();
69
if (!isset($params['callback'])) {
70
- throw new Application\BadRequestException('Parameter callback is missing.');
+ throw new Nette\InvalidStateException('Parameter callback is missing.');
71
}
72
$callback = $params['callback'];
73
$reflection = Nette\Utils\Callback::toReflection(Nette\Utils\Callback::check($callback));
0 commit comments