Exception: OBarc::Utils::Exceptions::OBarcError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/obarc/utils/exceptions.rb

Direct Known Subclasses

OBarcArgumentError

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (OBarcError) initialize(message)

Returns a new instance of OBarcError



10
11
12
# File 'lib/obarc/utils/exceptions.rb', line 10

def initialize(message)
  @message = message
end

Instance Attribute Details

- (Object) message (readonly)

Returns the value of attribute message



9
10
11
# File 'lib/obarc/utils/exceptions.rb', line 9

def message
  @message
end