class ChefZero::DataStore::DataError

Attributes

cause[R]
path[R]

Public Class Methods

new(path, cause = nil) click to toggle source
Calls superclass method
# File lib/chef_zero/data_store/data_error.rb, line 24
def initialize(path, cause = nil)
  @path = path
  @cause = cause
  path_for_msg = path.nil? ? "nil" : "/#{path.join('/')}"
  super "Data path: #{path_for_msg}"
end