lib/puppet/resource_api/errors.rb in puppet-resource_api-0.1.0 vs lib/puppet/resource_api/errors.rb in puppet-resource_api-0.2.0

- old
+ new

@@ -1,7 +1,10 @@ -# This error is thrown when a Command cannot find the specified command -class Puppet::ResourceApi::CommandNotFoundError < StandardError -end -# This error is thrown when a Command returned a non-zero exit code -class Puppet::ResourceApi::CommandExecutionError < StandardError +module Puppet::ResourceApi + # This error is thrown when a Command cannot find the specified command + class CommandNotFoundError < StandardError + end + + # This error is thrown when a Command returned a non-zero exit code + class CommandExecutionError < StandardError + end end