chromium/third_party/openscreen/src/platform/base/error.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "platform/base/error.h"

#include <sstream>

namespace openscreen {

Error::Error() = default;

Error::Error(const Error& error) = default;

Error::Error(Error&& error) noexcept = default;

Error::Error(Code code) :{}

Error::Error(Code code, const std::string& message)
    :{}

Error::Error(Code code, std::string&& message)
    :{}

Error::~Error() = default;

Error& Error::operator=(const Error& other) = default;

Error& Error::operator=(Error&& other) = default;

bool Error::operator==(const Error& other) const {}

bool Error::operator!=(const Error& other) const {}

bool Error::operator==(Code code) const {}

bool Error::operator!=(Code code) const {}

std::ostream& operator<<(std::ostream& os, const Error::Code& code) {}

std::string Error::ToString() const {}

std::string ToString(openscreen::Error::Code code) {}

std::ostream& operator<<(std::ostream& out, const Error& error) {}

// static
const Error& Error::None() {}

}  // namespace openscreen