from .simple_broker import _DataBrokerClass, EventQueue, Header
from .handler_registration import register_builtin_handlers

DataBroker = _DataBrokerClass()  # singleton
register_builtin_handlers()

from .simple_broker import (_DataBrokerClass, EventQueue, Header,
                            LocationError, IntegrityError)
from .handler_registration import register_builtin_handlers

DataBroker = _DataBrokerClass()  # singleton
register_builtin_handlers()

Add Errors to the public API.
DOC: Add Errors to the public API.

- from .simple_broker import _DataBrokerClass, EventQueue, Header
+ from .simple_broker import (_DataBrokerClass, EventQueue, Header,
+                             LocationError, IntegrityError)
  from .handler_registration import register_builtin_handlers
  
  DataBroker = _DataBrokerClass()  # singleton
  register_builtin_handlers()
  
Add Errors to the public API.
## Code Before:
from .simple_broker import _DataBrokerClass, EventQueue, Header
from .handler_registration import register_builtin_handlers

DataBroker = _DataBrokerClass()  # singleton
register_builtin_handlers()

## Instruction:
Add Errors to the public API.
## Code After:
from .simple_broker import (_DataBrokerClass, EventQueue, Header,
                            LocationError, IntegrityError)
from .handler_registration import register_builtin_handlers

DataBroker = _DataBrokerClass()  # singleton
register_builtin_handlers()
