Forum: Ruby How do I find out what Exceptions a class may raise

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ben E. (Guest)
on 2007-06-22 19:58
(Received via mailing list)
at Been using the ActionMailer class, i.e.

class SimpleMailer < ActionMailer::Base
  def simple_message(to,sender,subject_line,message)
    from sender
    recipients to
    subject subject_line
    body message

But what I cant work out is what exceptions it can raise.  Had a look
at its documentation at but it does
not mention exceptions.

Ime fairly new to this and I guess my question is a general one on how
do you find out the exceptions a class can raise?

This topic is locked and can not be replied to.