Sha256: 834a00acfb8bd70c1965c65d89759f0737e24d15b821178ee9c46cfee5b1ecd3

Contents?: true

Size: 315 Bytes

Versions: 5

Compression:

Stored size: 315 Bytes

Contents

require_relative "runtime_error"

module Hexx

  # An exception to be raised in case some record not found
  #
  # It is expected, that the object stores error messages in its <tt>errors</tt>
  # collection.
  #
  class NotFoundError < RuntimeError

    private

    def default
      "Not found"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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