Consistent error types