Exception: Hairballs::ThemeUseFailure

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/hairballs/exceptions.rb

Overview

Used when Hairballs tries to load theme, but the theme could not be loaded.

Instance Method Summary collapse

Constructor Details

#initialize(theme_name) ⇒ ThemeUseFailure

Returns a new instance of ThemeUseFailure.



21
22
23
24
# File 'lib/hairballs/exceptions.rb', line 21

def initialize(theme_name)
  message = "Theme not found: :#{theme_name}."
  super(message)
end