Exception: GcfRuby::GcfError

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

Overview

GcfError is the base error from which all other more specific errors

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ GcfError

Returns a new instance of GcfError.



8
9
10
# File 'lib/gcf_ruby/errors.rb', line 8

def initialize(message = nil)
  @message = message
end

Instance Attribute Details

#messageObject

Returns the value of attribute message.



6
7
8
# File 'lib/gcf_ruby/errors.rb', line 6

def message
  @message
end