I am using an API which has handed me a CFStreamError
(which is supposedly deprecated, but Apple themselves obviously don't care.)
I know some of the values and I could certainly write multiple nested switch statements to convert all the values I know into strings, but there will be values I don't know.
Isn't there some convenient way to get an error message out? I don't care whether it's localised or not because it will only end up in our logs anyway.