Class: Configuration::FileStorageOutsideOfRootDirError

Inherits:
ConfigurationError
  • Object
show all
Defined in:
lib/httpimagestore/configuration/file.rb

Instance Method Summary collapse

Constructor Details

#initialize(image_name, file_path) ⇒ FileStorageOutsideOfRootDirError

Returns a new instance of FileStorageOutsideOfRootDirError.



8
9
10
# File 'lib/httpimagestore/configuration/file.rb', line 8

def initialize(image_name, file_path)
	super "error while processing image '#{image_name}': file storage path '#{file_path.to_s}' outside of root direcotry"
end