Sha256: 15e7d256e32271510de637b2abd323f8115b26a826a681b33d6d88b1bb594014

Contents?: true

Size: 1.21 KB

Versions: 64

Compression:

Stored size: 1.21 KB

Contents

# encoding: utf-8
module FeduxOrgStdlib
  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

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
fedux_org-stdlib-0.7.21 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.20 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.19 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.18 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.17 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.16 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.15 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.14 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.12 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.11 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.10 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.8 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.7 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.6 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.5 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.4 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.3 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.2 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.1 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.0 lib/fedux_org_stdlib/models/exceptions.rb