Class: Berkshelf::BerksError

Inherits:
Vagrant::Errors::VagrantError
  • Object
show all
Defined in:
lib/berkshelf/vagrant/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ BerksError

Returns a new instance of BerksError.



35
36
37
38
# File 'lib/berkshelf/vagrant/errors.rb', line 35

def initialize(message)
  @error_message = message
  super
end

Instance Attribute Details

#error_messageObject (readonly)

Returns the value of attribute error_message.



33
34
35
# File 'lib/berkshelf/vagrant/errors.rb', line 33

def error_message
  @error_message
end