if no branch found, return safe error