Sha256: f85db5ef3a34015daf9c95a6505cb98a75c5a12d932a40ae4d4a36c92f51a7a5

Contents?: true

Size: 845 Bytes

Versions: 5

Compression:

Stored size: 845 Bytes

Contents

module PolishGeeks
  module DevTools
    # Module that encapsulates all the DevTools errrors
    module Errors
      # Base class for all DevTools errors
      class BaseError < StandardError; end

      # Raised when we want to run method that was not implemented and we have just a stub
      # from parent class
      class NotImplementedError < BaseError; end

      # Raised when we want to run an command for which pre validation does not pass
      class PreCommandValidationError < BaseError; end

      # Raised when validators are defined with an unsupported type
      class InvalidValidatorsTypeError < BaseError; end

      # Raised when it is a type of task that we don't recognize
      class UnknownTaskType < BaseError; end

      # Raised when any of tasks fail
      class RequirementsError < BaseError; end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
polishgeeks-dev-tools-1.4.0 lib/polish_geeks/dev_tools/errors.rb
polishgeeks-dev-tools-1.3.2 lib/polish_geeks/dev_tools/errors.rb
polishgeeks-dev-tools-1.3.1 lib/polish_geeks/dev_tools/errors.rb
polishgeeks-dev-tools-1.3.0 lib/polish_geeks/dev_tools/errors.rb
polishgeeks-dev-tools-1.2.1 lib/polishgeeks/dev-tools/errors.rb