Class: Muwu::ProjectException::CompiledFolderNotFound

Inherits:
Object
  • Object
show all
Defined in:
lib/muwu/project_exception/compiled_folder_not_found.rb

Instance Method Summary collapse

Constructor Details

#initialize(project) ⇒ CompiledFolderNotFound

Returns a new instance of CompiledFolderNotFound.



6
7
8
# File 'lib/muwu/project_exception/compiled_folder_not_found.rb', line 6

def initialize(project)
  @compiled_folder = project.path_compiled
end

Instance Method Details

#reportObject



11
12
13
# File 'lib/muwu/project_exception/compiled_folder_not_found.rb', line 11

def report
  "The folder for compiled documents `#{@compiled_folder}` could not be found."
end

#typeObject



16
17
18
# File 'lib/muwu/project_exception/compiled_folder_not_found.rb', line 16

def type
  :fatal
end