Exception: Frontman::ExistingResourceError

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

Class Method Summary collapse

Class Method Details

.create(url, resource) ⇒ Object



21
22
23
24
# File 'lib/frontman/errors.rb', line 21

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