Exception: Prismic::API::PrismicWSConnectionError
- Defined in:
- lib/prismic/api.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(resp, cause = nil) ⇒ PrismicWSConnectionError
constructor
A new instance of PrismicWSConnectionError.
Methods inherited from Error
Constructor Details
#initialize(resp, cause = nil) ⇒ PrismicWSConnectionError
Returns a new instance of PrismicWSConnectionError
267 268 269 |
# File 'lib/prismic/api.rb', line 267 def initialize(resp, cause=nil) super("Can't connect to Prismic's API: #{resp.code} #{resp.}", cause) end |