delegate error logging to manager class
delegate handle_error to manager class
move all error logging onto manager
get_error_handler combined with error_handler
combine get_handler and handler in manager