#include "components/reporting/util/statusor.h"
#include <utility>
#include "base/check.h"
#include "base/no_destructor.h"
#include "base/types/expected.h"
namespace reporting {
namespace internal {
ErrorStatus::ErrorStatus(const ErrorStatus&) = default;
ErrorStatus& ErrorStatus::operator=(const ErrorStatus&) = default;
ErrorStatus::ErrorStatus(ErrorStatus&&) = default;
ErrorStatus& ErrorStatus::operator=(ErrorStatus&&) = default;
ErrorStatus::~ErrorStatus() = default;
ErrorStatus::ErrorStatus(const Status& status) : … { … }
ErrorStatus::ErrorStatus(Status&& status) : … { … }
}
base::unexpected<Status> CreateUnknownErrorStatusOr() { … }
}