Exception: SitePrism::FailedLoadValidationError
- Inherits:
-
PageLoadError
- Object
- StandardError
- SitePrismError
- PageLoadError
- SitePrism::FailedLoadValidationError
- Defined in:
- lib/site_prism/error.rb
Overview
A page was loaded via #load - And then failed one of the load validations that was either pre-defined or defined by the user
Instance Method Summary collapse
Instance Method Details
#message ⇒ Object
68 69 70 71 72 73 74 |
# File 'lib/site_prism/error.rb', line 68 def if super == self.class.to_s 'Failed to load - No reason specified.' else "Failed to load. Reason: #{super}" end end |