Shopify/active_merchant — pull request #1073 by odorcicd (2014-03-13 16:23:23+00:00)
Title: Raise ActionViewHelperError when an exception is raised during form building

@jduff @bslobodin

Currently, a number of offsite gateways make external calls when building their form fields. Often enough, an exception is raised which bubbles all the way up through apps. This raises a more specific exception so that it can be rescued and dealt with accordingly (display exception message to user using offsite gateway).
Thoughts?