3 AnswersNew Answer
Let's say you create a programme this programme can only use those people who has age greater than 18.if someone use your programme who has age less than 18 then it will raise error value error or you can choose your own name for exception like age error.so children's cannot use this programme.
Its helpful for debugging for developers and to show a not-so-geeky error to users when something wrong happens. Now when you're writing codes and running it, you get some errors bcz they're raised explicitly at the backend to make it easier for you to debug it.
Maybe useful for something🏃