alphagov/gds-api-adapters — pull request #189 by jamiecobbett (2014-07-31 13:00:59+00:00)
Title: Require exception classes

We were referencing the `GdsApi::BaseError` class in our code, without explicitly requiring 'gds_api/exceptions'. In development mode this wasn't a problem, because an adapter class, which does require it, was always loaded first. When we deployed to preview however, the load order was different because Rails and the application couldn't boot because the constant was undefined.