MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / logicError

Method logicError

tests/catch.hpp:6898–6898  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6896 static auto ok( U const &value ) -> BasicResult { return { ResultBase::Ok, value }; }
6897 static auto ok() -> BasicResult { return { ResultBase::Ok }; }
6898 static auto logicError( std::string const &message ) -> BasicResult { return { ResultBase::LogicError, message }; }
6899 static auto runtimeError( std::string const &message ) -> BasicResult { return { ResultBase::RuntimeError, message }; }
6900
6901 explicit operator bool() const { return m_type == ResultBase::Ok; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected