Second, swapping out the meaning of errors from std library functions is dead easy.
Third, the function capture syntax is a double edged sword, or would be without the type system and the fast, explicit tooling. Any other language, I'd be refactoring that last line for clarity.