{"record":{"id":"6be18642746ade61","repo":"slimphp/Slim","slug":"s-is-not-resolvable","errorCode":null,"errorMessage":"%s is not resolvable","messagePattern":"(.+?) is not resolvable","errorType":"exception","errorClass":"RuntimeException","httpStatus":null,"severity":"error","filePath":"Slim/CallableResolver.php","lineNumber":165,"sourceCode":"        }\n        return [$instance, $method];\n    }\n\n    /**\n     * @param mixed $resolved\n     * @param mixed $toResolve\n     *\n     * @throws RuntimeException\n     */\n    private function assertCallable($resolved, $toResolve): callable\n    {\n        if (!is_callable($resolved)) {\n            if (is_callable($toResolve) || is_object($toResolve) || is_array($toResolve)) {\n                $formatedToResolve = ($toResolveJson = json_encode($toResolve)) !== false ? $toResolveJson : '';\n            } else {\n                $formatedToResolve = is_string($toResolve) ? $toResolve : '';\n            }\n            throw new RuntimeException(sprintf('%s is not resolvable', $formatedToResolve));\n        }\n        return $resolved;\n    }\n\n    private function bindToContainer(callable $callable): callable\n    {\n        if (is_array($callable) && $callable[0] instanceof Closure) {\n            $callable = $callable[0];\n        }\n        if ($this->container && $callable instanceof Closure) {\n            /** @var Closure $callable */\n            $callable = $callable->bindTo($this->container);\n        }\n        return $callable;\n    }\n\n    /**\n     * @param callable|string|array{class-string, string}|mixed $toResolve","sourceCodeStart":147,"sourceCodeEnd":183,"githubUrl":"https://github.com/slimphp/Slim/blob/80900fb39cafce3ae53b18a2c4f642a122f03095/Slim/CallableResolver.php#L147-L183","documentation":"Error \"%s is not resolvable\" thrown in slimphp/Slim.","triggerScenarios":"Thrown at Slim/CallableResolver.php:165 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"80900fb39cafce3ae53b18a2c4f642a122f03095","analyzedAt":"2026-08-21T01:41:09.580Z","schemaVersion":2},"datasetVersion":"2026-08-21T03:17:12.404Z"}