nixd
Loading...
Searching...
No Matches
nixd
include
nixd
Support
Exception.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <llvm/Support/Error.h>
4
5
#include <exception>
6
7
namespace
nixd
{
8
9
class
LLVMErrorException
:
public
std::exception {
10
llvm::Error E;
11
12
public
:
13
LLVMErrorException
(llvm::Error E) : E(std::move(E)) {}
14
15
llvm::Error
takeError
() {
return
std::move(E); }
16
};
17
18
}
// namespace nixd
nixd::LLVMErrorException
Definition
Exception.h:9
nixd::LLVMErrorException::LLVMErrorException
LLVMErrorException(llvm::Error E)
Definition
Exception.h:13
nixd::LLVMErrorException::takeError
llvm::Error takeError()
Definition
Exception.h:15
nixd
Definition
CommandLine/Configuration.h:9
Generated by
1.12.0