Added basic error handling

Implemented the Hotel.handle method for handling API errors. Also added
tests for the method.