global: Consistent error handling