Exception: FlightStats::Error
- Inherits:
-
StandardError
- Object
- StandardError
- FlightStats::Error
- Defined in:
- lib/flightstats.rb
Overview
The exception class from which all FlightStats exceptions inherit.
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#set_message(message) ⇒ Object
4 5 6 |
# File 'lib/flightstats.rb', line 4 def @message = end |
#to_s ⇒ String
9 10 11 |
# File 'lib/flightstats.rb', line 9 def to_s defined? @message and @message or super end |