How to print osStatus_t defines easily?

I am trying to debug a code that was written with little error checking. I want to output via debug printf what the functions have returned, so whether threads were suspended or not. In this case the osStatus_t enum. Is there something similar to perror, that I can use here?

More questions in this forum