Add string extensions for error