~satchmo/libvmm#26: 
Custom exceptions

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

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

~satchmo 4 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 4 years ago

~satchmo WONT_FIX REPORTED 4 years ago

~satchmo 4 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.