Sha256: 7bd48387fe54eefef0a88dd6452a1742902d1e227626462c54caa65a7b8f219b

Contents?: true

Size: 576 Bytes

Versions: 3

Compression:

Stored size: 576 Bytes

Contents

module ChickenLittle
  
  class GemFileNotFound < StandardError
    def initialize(msg = "I couldn't figure out where to start looking for the RubyGems install.")
      super(msg)
    end
  end
  
  class SpecFileNotFound < StandardError
    def initialize(msg = "Could not find specification.rb file")
      super(msg)
    end
  end
  
  class SpecFileNotWritable < StandardError
    def initialize(msg = "You do not have permission to write to the specification.rb file.\nTry running using the sudo command: sudo chiken_little [option]")
      super(msg)
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chicken_little-0.2.0 lib/chicken_little/exceptions.rb
chicken_little-0.1.0 lib/chicken_little/exceptions.rb
chicken_little-0.1.0.beta1 lib/chicken_little/exceptions.rb