Exception: ReSorcery::Error::InvalidConfigurationError

Inherits:
ReSorceryError
  • Object
show all
Defined in:
lib/re_sorcery/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(details) ⇒ InvalidConfigurationError

Returns a new instance of InvalidConfigurationError.



23
24
25
# File 'lib/re_sorcery/error.rb', line 23

def initialize(details)
  @details = details
end

Instance Method Details

#messageObject



27
28
29
30
# File 'lib/re_sorcery/error.rb', line 27

def message
  "ReSorcery can only be configured once, and only before `include`ing ReSorcery, but was " +
    @details
end