Exception: Fancybox2::Module::Exceptions::FbxfileNotProvided

Inherits:
StandardError
  • Object
show all
Defined in:
lib/fancybox2/module/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(file_path, message = nil) ⇒ FbxfileNotProvided

Returns a new instance of FbxfileNotProvided.



8
9
10
11
# File 'lib/fancybox2/module/exceptions.rb', line 8

def initialize(file_path, message = nil)
  message = message || "Fbxfile.example path not provided. Given: #{file_path}"
  super(message)
end