Exception: S3Website::NoPredefinedWebsiteDirectoryFound

Inherits:
NoWebsiteDirectoryFound show all
Defined in:
lib/s3_website/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(message = "I can't find a website in any of the following directories: #{Paths.site_paths.join(', ')}. Please specify the location of the website with the --site option.") ⇒ NoPredefinedWebsiteDirectoryFound

Returns a new instance of NoPredefinedWebsiteDirectoryFound.



12
13
14
# File 'lib/s3_website/errors.rb', line 12

def initialize(message = "I can't find a website in any of the following directories: #{Paths.site_paths.join(', ')}. Please specify the location of the website with the --site option.")
  super(message)
end