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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
49e37d55fb2fa0b6c3c7286f9ad45be6?d=identicon&s=25 Ben Edwards (Guest)
on 2007-06-22 17: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
  end
end

But what I cant work out is what exceptions it can raise.  Had a look
at its documentation at
http://api.rubyonrails.org/classes/ActionMailer/Base.html 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?

Regards,
Ben
This topic is locked and can not be replied to.