MCPcopy Create free account
hub / github.com/CoolProp/CoolProp / what

Method what

include/CoolProp/Exceptions.h:33–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 CoolPropBaseError(const std::string& err, ErrCode code) throw() : m_code(code), m_err(err) {}
32 ~CoolPropBaseError() throw() = default;
33 const char* what() const throw() override {
34 return m_err.c_str();
35 }
36 ErrCode code() {
37 return m_code;
38 }

Callers 15

preStateChangeMethod · 0.80
postStateChangeMethod · 0.80
setSat_pMethod · 0.80
setSat_TMethod · 0.80
setState_phMethod · 0.80
setState_pTMethod · 0.80
setState_dTMethod · 0.80
setState_psMethod · 0.80
setState_hsMethod · 0.80
CP_set_reference_stateFunction · 0.80

Calls

no outgoing calls

Tested by 4

check_PX_roundtripFunction · 0.64
run_named_caseFunction · 0.64
run_fluidMethod · 0.64
check_DXFunction · 0.64