response_code to text

A simple function response_code2text to get text error message by given response_code.