Sha256: c49689c3e6fcbd769869260068d26443b2cfc0eb63e90e59a145cfea13b9d495
Contents?: true
Size: 344 Bytes
Versions: 1
Compression:
Stored size: 344 Bytes
Contents
module Html2Pdf module Rails class NetworkError < StandardError end class RequestError < StandardError attr_reader :response def initialize(response, msg = nil) msg ||= "html2pdf request failed and got HTTP status #{response.code}" super(msg) @response = response end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
html2pdf-rails-0.2.0 | lib/html2pdf/rails/errors.rb |