tagval 0.2.0
Modern C++23 header-only library of tagged values (open/closed enumerations with metadata)
Loading...
Searching...
No Matches
error.hpp File Reference

tagval exception types and ParseError record used by try_of(). More...

#include <stdexcept>
#include <string>
#include <string_view>
+ Include dependency graph for error.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tagval::TagValError
 Common base exception. Catch this to handle any tagval-thrown error. More...
 
class  tagval::UnknownCodeError
 Thrown by of() when a code is not present. More...
 
struct  tagval::ParseError
 Returned via std::expected from try_of() when a code is not present. More...
 

Namespaces

namespace  tagval
 

Detailed Description

tagval exception types and ParseError record used by try_of().