+1 vote
in Ruby by
How an exception is handled in Ruby?

1 Answer

0 votes
by

To handle exception, the code that raises exception is enclosed within begin-end block. Using rescue clauses we can state type of exceptions we want to handle.

Related questions

+1 vote
asked Mar 15, 2021 in Secure Programming Practices by rajeshsharma
0 votes
asked Jan 31, 2020 in Selenium by SakshiSharma
...