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

Class ArgumentError

src/backend/common/err_common.hpp:91–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89};
90
91class ArgumentError : public AfError {
92 std::string expected;
93 int argIndex;
94 ArgumentError();
95
96 public:
97 ArgumentError(const char* const func, const char* const file,
98 const int line, const int index,
99 const char* const expectString,
100 const boost::stacktrace::stacktrace st);
101 ArgumentError(ArgumentError&& other) noexcept = default;
102
103 const std::string& getExpectedCondition() const noexcept;
104
105 int getArgIndex() const noexcept;
106
107 ~ArgumentError() noexcept {}
108};
109
110class SupportError : public AfError {
111 std::string backend;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected