Sha256: c0053f4e1645ab24ef70080a9a1e84f32481ab113bcff5044046c76854781357
Contents?: true
Size: 323 Bytes
Versions: 2
Compression:
Stored size: 323 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 def message "Not found: #{ errors.inspect }" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hexx-0.1.1 | lib/hexx/exceptions/not_found_error.rb |
hexx-0.1.0 | lib/hexx/exceptions/not_found_error.rb |