Exception: KillBillClient::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/killbill_client.rb

Overview

The exception class from which all KillBill exceptions inherit.

Direct Known Subclasses

API::ResponseError, ConfigurationError

Instance Method Summary collapse

Instance Method Details

#set_message(message) ⇒ Object



20
21
22
# File 'lib/killbill_client.rb', line 20

def set_message(message)
  @message = message
end

#to_sString

Returns:

  • (String)


25
26
27
# File 'lib/killbill_client.rb', line 25

def to_s
  defined? @message and @message or super
end