mailpace-rails icon indicating copy to clipboard operation
mailpace-rails copied to clipboard

handle Mailpace::DeliveryError

Open dpaluy opened this issue 1 year ago • 0 comments

Current Mailpace Rails implementation raises RuntimeError if the status isn't 200. For example: RuntimeError: {"to"=>["contains a blocked address"]}

This implementation introduces Mailpace::DeliveryError. It helps to handle this explicit error in the Rails application

dpaluy avatar Jun 18 '24 17:06 dpaluy