Allow for nil localised stirng in the method generateErrorWithDomain:code:localizedString: