Added getError method to Matcher