Code Review for arithmetic arranger

I am soo much confused about the right way to use exception handling

Can anybody please review my code, and tell me whether my code is following the best practices ?!

How can I refactor my code?

Link to my :-repl repository

Link to gihub repository :- github repository

Feel free to make a pull request
Thank you