Switch to using Errbit for error handling
Merge pull request #34 from alphagov/switch_to_errbit

Switch to using Errbit for error handling