Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

InvalidTransition exception should be a runtime error

#5

InvalidTransition should inherit from RuntimeError, and not Exception, right? Since it descends from Exception, it blows up test suites hard in the middle of the run instead of just being captured as an error. Also, this would would break the normal rescue RuntimeError => e since Exception is the parent of RuntimeError.

Declaration can be seen here:

http://github.com/rubyist/aasm/s...

Reported by Rob Sanheim · August 13th, 2008 @ 05:43 PM

State: resolved
Milestone: none
Assigned to: Scott Barron Scott Barron

Activity

  1. Scott Barron
    Scott Barron
    • State changed from new to resolved

    Indeed it should, fixed in 3d29103. Thanks.

    August 13th, 2008 @ 06:01 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.