On Thu, Nov 29, 2012 at 4:11 AM, Jordon Bedwell <[email protected]> wrote: > raise(MyClass::APIParseError.new("001", :XML)) > #=> MyClass::MyError: 001: Problem parsing XML
This would actually display: "MyClass::APIParseError" I had a misspelling since I didn't run it through an REPL to get the output I just wrote it so of course typos can happen but it will show you the right error class when you output it. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

