(raw: CodexAppSkillErrorInfo)
| 2907 | } |
| 2908 | |
| 2909 | function mapSkillErrorInfo(raw: CodexAppSkillErrorInfo): ProviderSkillError | null { |
| 2910 | const skillPath = normalizeNullableString(raw?.path); |
| 2911 | const message = normalizeNullableString(raw?.message); |
| 2912 | if (!skillPath || !message) { |
| 2913 | return null; |
| 2914 | } |
| 2915 | return { |
| 2916 | path: skillPath, |
| 2917 | message, |
| 2918 | }; |
| 2919 | } |
| 2920 | |
| 2921 | function mapPluginLoadError(raw: CodexAppMarketplaceLoadError): ProviderPluginLoadError | null { |
| 2922 | const marketplacePath = normalizeNullableString(raw?.marketplacePath); |
nothing calls this directly
no test coverage detected