mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 14:28:17 +03:00
9fa292b9ed
Reviewed By: genevievehelsel Differential Revision: D36429182 fbshipit-source-id: 7d355917abf463493c37139856810de13e1090ff
21 lines
494 B
C++
21 lines
494 B
C++
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This software may be used and distributed according to the terms of the
|
|
* GNU General Public License version 2.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <stdexcept>
|
|
|
|
namespace facebook::eden {
|
|
|
|
class EdenMountError : public std::runtime_error {
|
|
public:
|
|
explicit EdenMountError(const std::string& what) : std::runtime_error{what} {}
|
|
explicit EdenMountError(const char* what) : std::runtime_error{what} {}
|
|
};
|
|
|
|
} // namespace facebook::eden
|