old_contents: # encoding: utf-8
  
  """
  .. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
  """
  
  from __future__ import absolute_import
  
  import requests
  
  
  class ValidationError(Exception):
      """
      Exception raised when data is not properly formatted.
      """
  
  
  class PathError(Exception):
      """
      Base path exception class.
      """
  
  
  class InvalidFilePathError(PathError):
      """
      Exception raised when invalid file path used.
      """
  
  
  class InvalidUrlError(PathError):
      """
      Exception raised when invalid URL used.
      """
  
  
  class OpenError(IOError):
      """
      Exception raised when failed to open a file.
      """
  
  
  class LoaderNotFoundError(Exception):
      """
      Exception raised when loader not found.
      """
  
  
  class HTTPError(requests.RequestException):
      """
      An HTTP error occurred.
  
      .. seealso::
  
          http://docs.python-requests.org/en/master/api/#exceptions
      """
  
  
  class ProxyError(requests.exceptions.ProxyError):
      """
      A proxy error occurred.
  
      .. seealso::
  
          http://docs.python-requests.org/en/master/_modules/requests/exceptions/
      """
  
  
  class PypandocImportError(ImportError):
      """
      Exception raised when import error occurred with pypandoc package.
      """
  
new_contents: # encoding: utf-8
  
  """
  .. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
  """
  
  from __future__ import absolute_import
  
  import requests
  
  
  class ValidationError(Exception):
      """
      Exception raised when data is not properly formatted.
      """
  
  
  class PathError(Exception):
      """
      Base path exception class.
      """
  
  
  class InvalidFilePathError(PathError):
      """
      Exception raised when invalid file path used.
  
      TODO: rename the error class
      """
  
  
  class InvalidUrlError(PathError):
      """
      Exception raised when invalid URL used.
      """
  
  
  class OpenError(IOError):
      """
      Exception raised when failed to open a file.
      """
  
  
  class LoaderNotFoundError(Exception):
      """
      Exception raised when loader not found.
      """
  
  
  class HTTPError(requests.RequestException):
      """
      An HTTP error occurred.
  
      .. seealso::
  
          http://docs.python-requests.org/en/master/api/#exceptions
      """
  
  
  class ProxyError(requests.exceptions.ProxyError):
      """
      A proxy error occurred.
  
      .. seealso::
  
          http://docs.python-requests.org/en/master/_modules/requests/exceptions/
      """
  
  
  class PypandocImportError(ImportError):
      """
      Exception raised when import error occurred with pypandoc package.
      """
  
subject: Add comments