{"record":{"id":"ab3102bc4aaf202c","repo":"thephpleague/flysystem","slug":"no-supported-public-url-generator-found","errorCode":null,"errorMessage":"No supported public url generator found.","messagePattern":"No supported public url generator found\\.","errorType":"exception","errorClass":"UnableToGeneratePublicUrl","httpStatus":null,"severity":"error","filePath":"src/UrlGeneration/ChainedPublicUrlGenerator.php","lineNumber":28,"sourceCode":"final class ChainedPublicUrlGenerator implements PublicUrlGenerator\n{\n    /**\n     * @param PublicUrlGenerator[] $generators\n     */\n    public function __construct(private iterable $generators)\n    {\n    }\n\n    public function publicUrl(string $path, Config $config): string\n    {\n        foreach ($this->generators as $generator) {\n            try {\n                return $generator->publicUrl($path, $config);\n            } catch (UnableToGeneratePublicUrl) {\n            }\n        }\n\n        throw new UnableToGeneratePublicUrl('No supported public url generator found.', $path);\n    }\n}\n","sourceCodeStart":10,"sourceCodeEnd":31,"githubUrl":"https://github.com/thephpleague/flysystem/blob/b277b5dc3d56650b68904117124e79c851e12376/src/UrlGeneration/ChainedPublicUrlGenerator.php#L10-L31","documentation":"Error \"No supported public url generator found.\" thrown in thephpleague/flysystem.","triggerScenarios":"Thrown at src/UrlGeneration/ChainedPublicUrlGenerator.php:28 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":"b277b5dc3d56650b68904117124e79c851e12376","analyzedAt":"2026-08-17T04:28:35.741Z","schemaVersion":2},"datasetVersion":"2026-08-17T09:17:11.063Z"}