Home > DeveloperSection > Interviews > How run-time error is handled in Erlang?

Posted on    June-24-2015 11:21 PM

 erlang Functional Programming  Concurrent Programming  erlang 
 1 Answer(s)
  455  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Posted on    June-24-2015 11:21 PM

It is possible to prevent run-time errors and other exceptions from causing the process to terminate by using Catch or Try. Catch Expr returns the value of expression unless an exception occurs during the evaluation. Try Exprs is the enhancement of catch with ability to identify the exception class and choose to handle the desired one.

Don't want to miss updates? Please click the below button!

Follow MindStick