File indexing completed on 2026-05-10 08:42:59
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef LLDB_UTILITY_UNIMPLEMENTEDERROR_H
0010 #define LLDB_UTILITY_UNIMPLEMENTEDERROR_H
0011
0012 #include "llvm/Support/Errc.h"
0013 #include "llvm/Support/Error.h"
0014
0015 namespace lldb_private {
0016 class UnimplementedError : public llvm::ErrorInfo<UnimplementedError> {
0017 public:
0018 static char ID;
0019
0020 void log(llvm::raw_ostream &OS) const override { OS << "Not implemented"; }
0021
0022 std::error_code convertToErrorCode() const override {
0023 return llvm::errc::not_supported;
0024 };
0025 };
0026 }
0027
0028 #endif