CLI router error handling