update readme with try-catch documentation