Expose error domain and code in header of UIDevice-Hardware.