'__reduce__ is used to serialize (pickle) ChildErrors.
Return a function to reconstruct a ChildError, along with the
salient properties we\'ll need.'

def __reduce__(self):

    return (_make_child_error, (self.message, self.traceback, self.build_log, self.package_context))
