~satchmo/libvmm#26: 
Custom exceptions

Look at exceptions.hpp in nlohmann/json for more info.

Status
REPORTED
Submitter
~satchmo
Assigned to
No-one
Submitted
3 years ago
Updated
3 years ago
Labels
Improvement

~satchmo 3 years ago

For now, we'll stick with system_errors as that's all the KVM module really throws. The fmt library also uses STL exceptions directly too. Plus, it's a pain to have all modules include from vmm/types/exceptions.hpp just so they can operate. Perhaps this will be more useful when virtio gets implemented as it's presumably not just a set of ioctls.

~satchmo REPORTED WONT_FIX 3 years ago

~satchmo WONT_FIX REPORTED 3 years ago

~satchmo 3 years ago

That said, components still need to include exceptions.hpp for VMM_THROW and what-not...

Register here or Log in to comment, or comment via email.