obsproject/obs-studio
在 GitHub 查看Migrate string-based exceptions during initialization to localized error codes/types
Open
#13,394 创建于 2026年5月3日
Good first issuekind/tech-debt
仓库指标
- Star
- (72,387 star)
- PR 合并指标
- (平均合并 35天 12小时) (30 天内合并 52 个 PR)
描述
Currently during initialization OBS will simply throw const char * for issues
and run_program happens to know to catch those with
This is both messy and also means that these errors can not be localized.
All of these potential errors during initialization should throw a proper exception type that identifies the kind of error with an optional error message for developers, then catch the specific type and display the localized error message appropriate for the error.