refactor errors to be general to Quandl::Error