"""Exception classes for Bottery"""


class ImproperlyConfigured(Exception):
    """Bottery is somehow improperly configured"""
    pass

"""Exception classes for Bottery"""


class BotteryException(Exception):
    """A base class for all Bottery exceptions for easier catching."""
    pass


class ImproperlyConfigured(BotteryException):
    """Bottery is somehow improperly configured"""
    pass

Add BotteryException base class from which ImproperlyConfigured derives.
Add BotteryException base class from which ImproperlyConfigured derives.

Fixes #40

  """Exception classes for Bottery"""
  
  
+ class BotteryException(Exception):
+     """A base class for all Bottery exceptions for easier catching."""
+     pass
+ 
+ 
- class ImproperlyConfigured(Exception):
+ class ImproperlyConfigured(BotteryException):
      """Bottery is somehow improperly configured"""
      pass
  
Add BotteryException base class from which ImproperlyConfigured derives.
## Code Before:
"""Exception classes for Bottery"""


class ImproperlyConfigured(Exception):
    """Bottery is somehow improperly configured"""
    pass

## Instruction:
Add BotteryException base class from which ImproperlyConfigured derives.
## Code After:
"""Exception classes for Bottery"""


class BotteryException(Exception):
    """A base class for all Bottery exceptions for easier catching."""
    pass


class ImproperlyConfigured(BotteryException):
    """Bottery is somehow improperly configured"""
    pass
