Type Alias: AiEnhancerErrorCode
ts
type AiEnhancerErrorCode =
| KnownErrorCode
| string & {
};Defined in: packages/ai-enhancer/src/entities/error/model/types.ts:9
The known error codes (see KNOWN_ERROR_CODES in shared/lib), plus an escape hatch: the backend can introduce codes the frontend hasn't heard of, and frontend-originated failures use their own codes (e.g. the React wrapper's engine_load_failed).