Fix 'status-code-to-text' to raise an error in case invalid status code come.