mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-08 16:12:23 +02:00
This includes an Error::create overload to create an Error from a UTF-8 StringView. If creating a String from that view fails, the factory will return an OOM InternalError instead. VM::throw_completion can also make use of this overload via its perfect forwarding.
2.6 KiB
2.6 KiB