Created error handler for incorrect account type input