1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
///@file
#include "lix/libutil/error.hh"
namespace nix {
/**
* Exit the program with a given exit code.
*/
class Exit : public BaseException
{
public:
int status;
Exit() : status(0) { }
explicit Exit(int status) : status(status) { }
};
}
|