mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 06:18:07 +03:00
2ff478ea62
Summary: Since the Stub.h now only contains NOT_IMPLEMENTED, let's move it to its own header outside of the win directory. Reviewed By: genevievehelsel Differential Revision: D23696244 fbshipit-source-id: 2dfc3204707e043ee6c89595668c484e0fa8c0d0
26 lines
797 B
C++
26 lines
797 B
C++
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This software may be used and distributed according to the terms of the
|
|
* GNU General Public License version 2.
|
|
*/
|
|
|
|
#pragma once
|
|
#include "eden/fs/service/EdenError.h"
|
|
|
|
namespace facebook {
|
|
namespace eden {
|
|
|
|
#define NOT_IMPLEMENTED() \
|
|
do { \
|
|
throw newEdenError( \
|
|
EdenErrorType::GENERIC_ERROR, \
|
|
" +++++++ NOT IMPLEMENTED +++++++ Function: ", \
|
|
__FUNCTION__, \
|
|
" Line: ", \
|
|
__LINE__); \
|
|
} while (true)
|
|
|
|
} // namespace eden
|
|
} // namespace facebook
|