Error handling division by zero #37585
Answered
by
navaneeth-algorithm
navaneeth-algorithm
asked this question in
Q&A
-
So i have Code
I got error
But i thought error would be returned. As i have written check on expression which would evaluate (a/b) and if there is an error it would return error & i would get output as
So actually what is happening here? |
Beta Was this translation helpful? Give feedback.
Answered by
navaneeth-algorithm
Aug 31, 2022
Replies: 1 comment
-
Got it!! i didn't saw there is panic to handle such error |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
navaneeth-algorithm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Got it!! i didn't saw there is panic to handle such error