Exception: Frontman::ExistingRedirectError
- Inherits:
-
StandardError
- Object
- StandardError
- Frontman::ExistingRedirectError
- Defined in:
- lib/frontman/errors.rb
Class Method Summary collapse
Class Method Details
.create(resource, url) ⇒ Object
14 15 16 17 |
# File 'lib/frontman/errors.rb', line 14 def self.create(resource, url) new("Unable to add #{resource.file_path} as #{url}. A redirect already exists for this URL.") end |