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.11.18 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.11.17 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.11.16 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.11.15 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.11.14 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.11.12 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.11.11 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.11.9 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.11.8 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.11.7 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.11.6 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.11.5 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.11.4 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.11.3 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.11.2 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.11.1 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.11.0 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.10.9 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.10.8 lib/fedux_org_stdlib/models/exceptions.rb
fedux_org-stdlib-0.10.7 lib/fedux_org_stdlib/models/exceptions.rb