MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / dasException

Class dasException

include/daScript/simulate/simulate.h:213–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211 } }
212
213 class dasException final : public std::exception {
214 public:
215 dasException ( const char * why, const LineInfo & at )
216 : exceptionAt(at), exceptionWhat(why ? why : "") {}
217 virtual char const* what() const noexcept override {
218 return exceptionWhat.empty() ? "unknown exception" : exceptionWhat.c_str();
219 }
220 public:
221 LineInfo exceptionAt;
222 das::string exceptionWhat;
223 };
224
225 struct DAS_API SimVisitor {
226 virtual void preVisit ( SimNode * ) { }

Callers 3

das_throwFunction · 0.85
throw_fatal_errorMethod · 0.85
rethrowMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected