mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-05 22:52:10 +02:00
The existing SQLResult class predates our TRY semantics. As a result, in the AST execution methods, there is a lot of is_error checking on values that could instead be wrapped with TRY. This new class will allow such semantics, and is also stack allocated (no need to be a RefPtr). It is heavily based on LibJS's completion class.
2.1 KiB
2.1 KiB