Sha256: af6d4a909b0fc3e62c61e376167f5312064c8cf0664ae2f618640551e727e230

Contents?: true

Size: 335 Bytes

Versions: 5

Compression:

Stored size: 335 Bytes

Contents

require_relative "runtime_error"

module Hexx

  # An exception to be raised by the <tt>UseCase#validate!</tt> method.
  #
  # It is expected, that the object stores error messages in its <tt>errors</tt>
  # collection.
  #
  class UseCaseInvalid < RuntimeError

    private

    def default
      "Use case invalid"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hexx-1.1.1 lib/hexx/exceptions/use_case_invalid.rb
hexx-1.1.0 lib/hexx/exceptions/use_case_invalid.rb
hexx-1.0.2 lib/hexx/exceptions/use_case_invalid.rb
hexx-1.0.1 lib/hexx/exceptions/use_case_invalid.rb
hexx-1.0.0 lib/hexx/exceptions/use_case_invalid.rb