Error handling

Change error code to raising exception in DS18B20 class.