-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
MEDIUMNot a risk, but definitely would improve functionalityNot a risk, but definitely would improve functionality
Description
Medium: Inconsistent Error Handling Return Types
Priority: MEDIUM
Type: API Consistency
Issue
Public API functions use inconsistent return types for errors:
Functions returning obsws_error_t:
obsws_send_request()obsws_set_current_scene()obsws_get_current_scene()- Most API functions
Functions returning int:
obsws_ping()- returns latency (ms) or negative error codeobsws_process_events()- returns 0 or error code
Functions returning void:
obsws_config_init()obsws_response_free()obsws_cleanup()
Impact
- API inconsistency confuses users
- Mixing
intandobsws_error_tmakes error handling unclear - Users don't know which functions can fail
Metadata
Metadata
Assignees
Labels
MEDIUMNot a risk, but definitely would improve functionalityNot a risk, but definitely would improve functionality