You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When validation fails in the postmark client, the PostmarkResponse class has a status of success. This is not really correct. It should be changed to "ValidationError" or similar, so that it can be identified more easily by the consumers of the client.
We should also add an option to the client to cause ValidationErrors to throw exceptions, as an alternative to checking the status codes, this would be backwards compatible with the current handling, which doesn't throw exceptions.
The text was updated successfully, but these errors were encountered:
When validation fails in the postmark client, the PostmarkResponse class has a status of success. This is not really correct. It should be changed to "ValidationError" or similar, so that it can be identified more easily by the consumers of the client.
We should also add an option to the client to cause ValidationErrors to throw exceptions, as an alternative to checking the status codes, this would be backwards compatible with the current handling, which doesn't throw exceptions.
The text was updated successfully, but these errors were encountered: