Exception: Rdoba::Log::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rdoba/log.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Error

Returns a new instance of Error.



192
193
194
195
196
197
198
199
# File 'lib/rdoba/log.rb', line 192

def initialize options = {}
            case options
            when :compat
"Debug compatibility mode can't be enabled for " +
"the specified object"
            when :main
"An :as option can't be default or set to 'self' value for " +
"a main application. Please set up it correctly" ; end ; end