Exception: Recurly::Error

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

Overview

The exception class from which all Recurly exceptions inherit.

Direct Known Subclasses

API::ResponseError, ConfigurationError, JS::RequestForgery

Instance Method Summary (collapse)

Instance Method Details

- (Object) set_message(message)



23
24
25
# File 'lib/recurly.rb', line 23

def set_message message
  @message = message
end

- (String) to_s

Returns:

  • (String)


28
29
30
# File 'lib/recurly.rb', line 28

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