MCPcopy Create free account
hub / github.com/arrayfire/forge / ArgumentError

Class ArgumentError

src/backend/common/err_common.hpp:102–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100};
101
102class ArgumentError : public FgError
103{
104 int mArgIndex;
105 std::string mExpected;
106
107 ArgumentError();
108
109public:
110 ArgumentError(const char * const pFuncName,
111 const char * const pFileName,
112 const int pLine,
113 const int pIndex,
114 const char * const pExpectString);
115
116 const std::string& getExpectedCondition() const
117 {
118 return mExpected;
119 }
120
121 int getArgIndex() const
122 {
123 return mArgIndex;
124 }
125
126 ~ArgumentError() throw() {}
127};
128
129////////////////////////////////////////////////////////////////////////////////
130// Helper Functions

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected