Module: Exceptioner
- Defined in:
- lib/exceptioner.rb,
lib/exceptioner/railtie.rb,
lib/exceptioner/version.rb,
lib/exceptioner/notifier.rb,
lib/exceptioner/middleware.rb,
lib/exceptioner/action_controller.rb,
lib/generators/exceptioner/install_generator.rb
Defined Under Namespace
Modules: ActionController, Generators, Transport
Classes: ExceptionerError, Middleware, Notifier, Railtie
Constant Summary
collapse
- VERSION =
"0.0.5"
- @@transports =
[:mail]
- @@dispatch_local_requests =
false
- @@development_environments =
%w[development test cucumber]
Class Method Summary
collapse
Class Method Details
.jabber ⇒ Object
50
51
52
|
# File 'lib/exceptioner.rb', line 50
def self.jabber
Transport::Jabber
end
|
.mail ⇒ Object
46
47
48
|
# File 'lib/exceptioner.rb', line 46
def self.mail
Transport::Mail
end
|
.notify(exception, options = {}) ⇒ Object
54
55
56
|
# File 'lib/exceptioner.rb', line 54
def self.notify(exception, options = {})
Notifier.dispatch(exception, options)
end
|
.setup {|_self| ... } ⇒ Object
42
43
44
|
# File 'lib/exceptioner.rb', line 42
def self.setup
yield self
end
|