managarm / frigg

Lightweight C++ utilities and algorithms for system programming
MIT License
56 stars 20 forks source link

Report the error and location in frg::expected::unwrap #66

Open qookei opened 11 months ago

qookei commented 11 months ago

Currently, if unwrap fails, it simply triggers an assertion failure, which provides no indication as to what happened.