Exception: Alephant::Renderer::Error::InvalidBasePath

Inherits:
StandardError
  • Object
show all
Includes:
Logger
Defined in:
lib/alephant/renderer/error/invalid_base_path.rb

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ InvalidBasePath



9
10
11
12
13
14
15
16
17
# File 'lib/alephant/renderer/error/invalid_base_path.rb', line 9

def initialize(path)
  super "Path '#{path}' to renderer/queue directory is invalid"

  logger.metric('ViewMapperInvalidPath')
  logger.error(
    event: :ViewMapperInvalidPath,
    path:  path
  )
end