Exception: Derelict::Utils::Logger::InvalidType

Inherits:
Exception
  • Object
show all
Defined in:
lib/derelict/utils/logger/invalid_type.rb

Overview

The “type” option when requesting the logger was invalid

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ InvalidType

Initializes a new instance of this exception for a type

* type: The (invalid) requested type


9
10
11
# File 'lib/derelict/utils/logger/invalid_type.rb', line 9

def initialize(type)
  super "Invalid logger type '#{type}'"
end