chore(main) sendError