Expose error string description function in the API