Sha256: 2570b9d6a9fc2f9c6513c96d9aed11c11896e64f0c65c35cd4f7f0b94f0cf62a

Contents?: true

Size: 976 Bytes

Versions: 1

Compression:

Stored size: 976 Bytes

Contents

module PuppetGenerator
  module Exceptions

    #raised if one tries to delete an instance which
    #does not exist
    class InstanceNotFound < InternalError; end
    
    #raised if one tries to use a keyword whose use
    #is restricted
    class UnauthorizedUseOfKeyword < InternalError; end

    #raised if one uses invalid search criteria
    class InvalidSearchCriteria < InternalError; end
    
    #raised if the code which defines an import filter
    #is malformed
    class MethodNeedsToBeImplemented < InternalError; end
    
    #raised if one tries to use an unimplemented exception
    class ExceptionNeedsToBeImplemented < InternalError; end

    #raised if an file system error occured
    class FilesystemError < Exception ; end

    #raise if a directory does not exist in filesystem
    class DirectoryDoesNotExist < FilesystemError; end
    
    #raise if a file does not exist in filesystem
    class FileDoesNotExist < FilesystemError; end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fedux_org-stdlib-0.0.2 lib/fedux_org/stdlib/models/exceptions.rb