Exception: Blather::BlatherError
- Defined in:
- lib/blather/errors.rb
Overview
Main error class
Direct Known Subclasses
ArgumentError, ParseError, SASLError, StanzaError, Stream::SASL::UnknownMechanism, Stream::TLS::TLSFailure, StreamError, UnknownResponse
Constant Summary collapse
- @@handler_list =
[]
Class Method Summary collapse
-
.handler_list ⇒ Object
The list of registered handlers.
-
.register(handler) ⇒ Object
Register the class’s handler.
Instance Method Summary collapse
-
#id ⇒ Object
HACK!! until I can refactor the entire Error object model.
Class Method Details
.handler_list ⇒ Object
The list of registered handlers
18 19 20 |
# File 'lib/blather/errors.rb', line 18 def self.handler_list @@handler_list end |
.register(handler) ⇒ Object
Register the class’s handler
11 12 13 14 |
# File 'lib/blather/errors.rb', line 11 def self.register(handler) @@handler_list << handler self.handler_heirarchy.unshift handler end |
Instance Method Details
#id ⇒ Object
HACK!! until I can refactor the entire Error object model
25 26 27 |
# File 'lib/blather/errors.rb', line 25 def id # :nodoc: nil end |