Method: SidekiqRemappableErrors::Config#validate!
- Defined in:
- lib/sidekiq_remappable_errors/config.rb
#validate! ⇒ Object
10 11 12 13 14 |
# File 'lib/sidekiq_remappable_errors/config.rb', line 10 def validate! return true if remapped_error_class <= Exception raise InvalidConfigError, "'remapped_error_class' must be an Exception" end |