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.0.24 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.23 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.22 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.21 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.20 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.19 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.17 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.16 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.14 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.13 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.12 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.11 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.10 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.9 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.8 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.6 lib/fedux_org/stdlib/models/exceptions.rb
fedux_org-stdlib-0.0.5 lib/fedux_org/stdlib/models/exceptions.rb