Exception: Spacebunny::AckTypeError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Spacebunny::AckTypeError
- Defined in:
- lib/spacebunny/exceptions.rb
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ AckTypeError
constructor
A new instance of AckTypeError.
Constructor Details
#initialize(message = nil) ⇒ AckTypeError
Returns a new instance of AckTypeError.
10 11 12 13 |
# File 'lib/spacebunny/exceptions.rb', line 10 def initialize( = nil) = || "Ack type not valid. Use one of #{Spacebunny::AmqpClient::ACK_TYPES.map{ |t| ":#{t}" }.join(', ')}" super() end |