Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are some built-in ruby class exceptions.



What are some built-in ruby class exceptions...

Answer / Vinod Kumar Pal

Ruby provides various built-in classes for exceptions. Some common exceptions include:n1. StandardErrorn - This is the base exception class.n2. Exceptionn - A generic exception class.n3. RuntimeErrorn - Base class for errors that occur during program execution.n4. ArgumentErrorn - Raised when an argument passed to a method or function is not valid.n5. NameErrorn - Raised when a variable or method does not exist in the current scope.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

What are some advantages of using ruby?

1 Answers  


What is the use of interpolation in ruby?

1 Answers  


What is mvc and why do we use it?

1 Answers  


How is class methods defined in ruby?

1 Answers  


What are Ruby iterators?

1 Answers  


How to check whether a directory exist or not in Ruby?

1 Answers  


What are freezing string in Ruby?

1 Answers  


Tell me how you define instance variable, global variable and class variable in ruby?

1 Answers  


Name some operators used in ruby.

1 Answers  


mention what is the difference between a single quote and double quote?

1 Answers  


Where does a scope change in a ruby program?

1 Answers  


Explain class libraries in ruby.

1 Answers  


Categories