MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / runtimeError

Method runtimeError

unittests/catch.hpp:5788–5788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5786 static auto ok() -> BasicResult { return { ResultBase::Ok }; }
5787 static auto logicError( std::string const &message ) -> BasicResult { return { ResultBase::LogicError, message }; }
5788 static auto runtimeError( std::string const &message ) -> BasicResult { return { ResultBase::RuntimeError, message }; }
5789
5790 explicit operator bool() const { return m_type == ResultBase::Ok; }
5791 auto type() const -> ResultBase::Type { return m_type; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected