Sha256: 7f7a7c407dae22913f33939f5d4d313dafc70500549d096e985de1bec5bc8077
Contents?: true
Size: 832 Bytes
Versions: 7
Compression:
Stored size: 832 Bytes
Contents
module ActiveMocker class RecordNotFound < StandardError end module Mock # @deprecated RecordNotFound = ActiveMocker::RecordNotFound end class IdError < StandardError end # Raised when unknown attributes are supplied via mass assignment. class UnknownAttributeError < NoMethodError attr_reader :record, :attribute def initialize(record, attribute) @record = record @attribute = attribute.to_s super("unknown attribute: #{attribute}") end end class UpdateMocksError < Exception def initialize(name, mock_version, gem_version) super("#{name} was built with #{mock_version} but the gem version is #{gem_version}. Run `rake active_mocker:build` to update.") end end class NotImplementedError < Exception end class Error < Exception end end
Version data entries
7 entries across 7 versions & 1 rubygems