refactor(eventsub): use variants for sum types (#5930)
This commit is contained in:
@@ -25,6 +25,8 @@ std::string ApplicationErrorCategory::message(int ev) const
|
||||
return "Missing inner root"s;
|
||||
case Kind::NoMessageHandler:
|
||||
return "No message handler found"s;
|
||||
case Kind::UnknownVariant:
|
||||
return "Unknown variant value"s;
|
||||
}
|
||||
|
||||
assert(false);
|
||||
|
||||
Reference in New Issue
Block a user