Sha256: 2f186265b1259a94e66a1113be591ad7bcecba74054543d1f60f68f2cb6d20c4

Contents?: true

Size: 242 Bytes

Versions: 1

Compression:

Stored size: 242 Bytes

Contents

require_relative "runtime_error"

module Hexx

  # An exception to be raised by the <tt>Hexx::Models#validate!</tt> method.
  class RecordInvalid < RuntimeError

    def message
      "Invalid use case: #{ errors.inspect }"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hexx-0.0.1 lib/hexx/exceptions/record_invalid.rb