blob: beb0180522f55c8c66fed1e339f2d0d5d94ae833 [file] [log] [blame]
// Copyright 2020 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 <memory>
#include <brillo/errors/error.h>
namespace hermes {
// Create a brillo Error from an Lpa error code. Return nullptr if no error.
brillo::ErrorPtr LpaErrorToBrillo(const base::Location& location, int error);
} // namespace hermes
#endif // HERMES_LPA_UTIL_H_