class Roadie::InvalidUrlPath
Raised when Roadie
encounters an invalid URL which cannot be parsed by Ruby’s URI
class.
This could be a hint that something in your HTML or CSS is broken.
Attributes
cause[R]
The original error, raised from URI
.
Public Class Methods
new(given_path, cause = nil)
click to toggle source
Calls superclass method
# File lib/roadie/errors.rb, line 19 def initialize(given_path, cause = nil) @cause = cause cause_message = if cause " Caused by: #{cause}" else "" end super "Cannot use path \"#{given_path}\" in URL generation.#{cause_message}" end