Returns error text to given error code.
Returns the corresponding error text for a given error code. The returned string will be null-terminated.