Move InjectionError so that it's in scope when used.
Merge pull request #147 from johnae/master

Move InjectionError so it's in scope when used