Safer err-line patterns