Exception: ExecuteWithRescue::Errors::NoAirbrakeAdapter

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/execute_with_rescue/errors/no_airbrake_adapter.rb

Class Method Summary collapse

Class Method Details

.new(msg = nil) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/execute_with_rescue/errors/no_airbrake_adapter.rb', line 4

def self.new(msg = nil)
  msg ||= <<-ERR_MSG
    There is no airbrake adapter available.
    Maybe you forgot to use `execute_with_rescue`?
  ERR_MSG
  super(msg)
end