tools: use `error` instead of 2
We are already using the "cleaner" YAML variant, so why not use the error
symbol instead of the quite confusing 2
value?
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
tools