DeviceOptions: Added an error handler for the case when a device exposes an enum with no values list