lib/html2pdf/rails/errors.rb in html2pdf-rails-0.2.0 vs lib/html2pdf/rails/errors.rb in html2pdf-rails-0.3.0
- old
+ new
@@ -10,7 +10,10 @@
msg ||= "html2pdf request failed and got HTTP status #{response.code}"
super(msg)
@response = response
end
end
+
+ class ServiceUnavailableError < RequestError
+ end
end
end