Exception: Ubcbooker::Error::BookingFailed
- Inherits:
-
StandardError
- Object
- StandardError
- Ubcbooker::Error::BookingFailed
- Defined in:
- lib/ubcbooker/error.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize ⇒ BookingFailed
constructor
A new instance of BookingFailed.
Constructor Details
#initialize ⇒ BookingFailed
Returns a new instance of BookingFailed.
73 74 75 76 77 |
# File 'lib/ubcbooker/error.rb', line 73 def initialize @message = "\nBooking Failed :/\n".red << "Please raise an issue on GitHub" super end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
72 73 74 |
# File 'lib/ubcbooker/error.rb', line 72 def @message end |