| 101 | |
| 102 | public: |
| 103 | bool Invalid(Result result, |
| 104 | const std::string& reject_reason = "", |
| 105 | const std::string& debug_message = "") |
| 106 | { |
| 107 | m_result = result; |
| 108 | m_reject_reason = reject_reason; |
| 109 | m_debug_message = debug_message; |
| 110 | if (m_mode != ModeState::M_ERROR) m_mode = ModeState::M_INVALID; |
| 111 | return false; |
| 112 | } |
| 113 | bool Error(const std::string& reject_reason) |
| 114 | { |
| 115 | if (m_mode == ModeState::M_VALID) |
no outgoing calls
no test coverage detected