Exception: Frontman::App::ExistingResourceError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/frontman/app.rb

Class Method Summary collapse

Class Method Details

.create(url, resource) ⇒ Object



169
170
171
172
# File 'lib/frontman/app.rb', line 169

def self.create(url, resource)
  new("Unable to redirect for #{url},
       the resource #{resource.file_path} already exists on this URL")
end