get BasePages insteadof Pages in VicLinkType and make ErrorPage extends View instead of BasePage