7digital/SevenDigital.Api.Wrapper — pull request #29 by AnthonySteele (2012-11-09 14:43:25+00:00)
Title: Added the ErrorCode enum for use on exceptions 

Added the ErrorCode enum for use on exceptions
Use this instead of Error object or int ErrorCode in exceptions.
Do not pass ErrorCode into exception constructors - this type then doesn't leak out into tests
Added exception constructors with just message and error code. Will be useful in tests where response code & body isn't needed