On case, I did create a VF page to override the "Edit" standard button provided by Salesforce. I need to redirect it based on the record type of the record for which the edit is clicked. In the below code, if the record type matched, it is redirecting to a VF page and an Id is passed as parameter.
Issue: If the record type doesn't match, my guess is that it should take the page to standard edit page. But I am seeing the error (attached). Please let me know if I am doing anything wrong.