blob: 916acb4386465ea63b0cc3b15bd26f3ab4050e06 [file] [log] [blame]
// Copyright 2017 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "login_manager/dbus_util.h"
#include <brillo/errors/error_codes.h>
namespace login_manager {
brillo::ErrorPtr CreateError(const std::string& code,
const std::string& message) {
return brillo::Error::Create(FROM_HERE, brillo::errors::dbus::kDomain, code,
message);
}
} // namespace login_manager