|
cgrapht 1.0.0
A modern C++20 header-only graph library
|
Result and error types used across all graph operations. More...
Classes | |
| class | cgrapht::Result< SUCCESS, ERROR > |
| Result wrapper for success or error values. More... | |
Enumerations | |
| enum class | cgrapht::ErrorType { cgrapht::ErrorType::INVALID_ARGUMENT , cgrapht::ErrorType::ABSENT_VERTEX , cgrapht::ErrorType::ABSENT_EDGE , cgrapht::ErrorType::EDGE_ALREADY_EXISTS , cgrapht::ErrorType::VERTEX_NOT_FREE , cgrapht::ErrorType::UNKNOWN } |
| Error codes returned by graph operations. More... | |
Result and error types used across all graph operations.
|
strong |
Error codes returned by graph operations.
All fallible graph operations return Result<T, ErrorType>. Check the error code via result.get_error() when result.is_ok() returns false.
Definition at line 147 of file models.hpp.