wildbit/postmark-gem — pull request #20 by pazustep (2012-08-03 20:30:54+00:00)
Title: Add error_code to DeliveryError

DeliveryError (and its derived classes) now get a 'error_code' property, set with the error code received from the server. This can be used to differentiate between various errors that all fall into InvalidMessageError, for example.