Sha256: 9112c07518b52b7e048569dcf342a6082a5605f1b5d91625ad8e1a573cec1565

Contents?: true

Size: 1.22 KB

Versions: 56

Compression:

Stored size: 1.22 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

56 entries across 56 versions & 1 rubygems

Version Path
fedux_org-stdlib-0.8.6 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.8.5 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.8.4 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.8.3 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.8.0 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.33 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.31 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.30 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.29 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.28 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.27 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.26 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.25 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.24 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.23 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.7.22 lib/fedux_org_stdlib/models/exceptions.rb