# Path: bolt/api.py
# class BoltError(Exception):
#     """
#     Base class for all exceptions in Bolt. The class is provided for inheritance
#     and it should not be used by itself.
# 
#     Errors for the Bolt application itself should be derived from this class.
#     """
#     def __init__(self, code=1):
#         self.code = code
# 
# 
#     def __repr__(self):
#         return 'BoltError({code})'.format(code=self.code)
# 
# 
#     def __str__(self):
#         return repr(self)


from bolt.api import BoltError
"""
This module defines exception classes used in the implementation of Bolt to
report errors or as base classes to define other error conditions.
"""
print('WARNING!!! bolt.errors is deprecated. Use bolt.api for exceptions')




# Path: bolt/api.py
# class BoltError(Exception):
#     """
#     Base class for all exceptions in Bolt. The class is provided for inheritance
#     and it should not be used by itself.
# 
#     Errors for the Bolt application itself should be derived from this class.
#     """
#     def __init__(self, code=1):
#         self.code = code
# 
# 
#     def __repr__(self):
#         return 'BoltError({code})'.format(code=self.code)
# 
# 
#     def __str__(self):
#         return repr(self)


# Path: bolt/errors.py
from bolt.api import BoltError

"""
This module defines exception classes used in the implementation of Bolt to
report errors or as base classes to define other error conditions.
"""
print('WARNING!!! bolt.errors is deprecated. Use bolt.api for exceptions')




class InvalidConfigurationError(BoltError):