Class: Configuration::FileStorageOutsideOfRootDirError
- Inherits:
-
ConfigurationError
- Object
- Configuration::FileStorageOutsideOfRootDirError
- Defined in:
- lib/httpimagestore/configuration/file.rb
Instance Method Summary collapse
-
#initialize(image_name, file_path) ⇒ FileStorageOutsideOfRootDirError
constructor
A new instance of FileStorageOutsideOfRootDirError.
Constructor Details
#initialize(image_name, file_path) ⇒ FileStorageOutsideOfRootDirError
Returns a new instance of FileStorageOutsideOfRootDirError.
9 10 11 |
# File 'lib/httpimagestore/configuration/file.rb', line 9 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 |