public function callAction(
        callable $callable,
        ServerRequestInterface $request,
        ResponseInterface $response,
        array $routeArguments
    ) {

        try {
            return call_user_func_array($callable, $this->buildParams($callable, $request, $routeArguments));
        } catch (Exception $e) {
            $handler = $this->container->getActionErrorHandler();

            return $handler($e, $request, $response);
        }
    }