Sha256: 1edd6dc8d27a34a7b6ae22969d2262c98c71dd37905b82bd77b9f2dffcafdcf0

Contents?: true

Size: 1.26 KB

Versions: 37

Compression:

Stored size: 1.26 KB

Contents

module FeduxOrg
  module Stdlib
    module Models
      module Exceptions
        #internal error
        class InternalError < Exception; end

        #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 one forgot to store files at `path_to_instances`
        class NoImplementationsForModelFound < 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
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
fedux_org-stdlib-0.3.2 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.3.0 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.2.1 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.1.3 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.1.2 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.1.1 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.1.0 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.39 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.38 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.37 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.36 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.35 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.33 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.32 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.31 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.30 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.29 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.28 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.26 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.25 lib/fedux_org/stdlib/models/exceptions.rb