/usr/include/gpsim/errors.h is in gpsim-dev 0.27.0-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | #if !defined(_ERRORS_H_)
#define _ERRORS_H_
#include <string>
#include "gpsim_object.h"
using namespace std;
//*****************************************************************
class AnError : public gpsimObject {
public:
AnError(string severity, string errMsg);
virtual ~AnError();
string toString();
string get_errMsg();
private:
string severity;
string errMsg;
};
//*****************************************************************
class Error : public AnError {
public:
Error(string errMsg);
virtual ~Error();
static int count;
};
//*****************************************************************
class FatalError : public AnError {
public:
FatalError(string errMsg);
virtual ~FatalError();
};
//*****************************************************************
class TypeMismatch : public Error {
public:
TypeMismatch(string theOperator, string expectedType, string observedType);
TypeMismatch(string theOperator, string observedType);
virtual ~TypeMismatch();
};
#endif // _ERRORS_
|