Sha256: 701713d4318d6075a5d6952c18236d5991db83011cefbc3d24f855ebd322b0ec

Contents?: true

Size: 653 Bytes

Versions: 1

Compression:

Stored size: 653 Bytes

Contents

require 'vbucket/version'
require 'vbucket/service'
require 'vbucket/configuration'

module VBucket
  class Exception < StandardError; end

  class MissingConfigData < VBucket::Exception
    def initialize(missing_data_)
      super("The following data is missing from the config file: #{missing_data_}")
    end
  end

  class MissingConfigFile < VBucket::Exception
    def initialize(file_path_)
      super("The config file is missing from path: #{file_path_}")
    end
  end

  class CannotAccessShare < VBucket::Exception
    def initialize(file_path_)
      super("Directory does not exist or permissions issue: #{file_path_}")
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vbucket-0.1.0 lib/vbucket.rb