add error message capture pattern in README