Sha256: 935dbf95153219c0575d0f06bbb83557f2e27e69afce603d47dd52783a29b64f
Contents?: true
Size: 899 Bytes
Versions: 12
Compression:
Stored size: 899 Bytes
Contents
module ActiveMocker module Mock class RecordNotFound < StandardError end class ReservedFieldError < StandardError end class IdError < StandardError end class FileTypeMismatchError < 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 IdNotNumber < Exception end class Error < Exception end end end
Version data entries
12 entries across 12 versions & 1 rubygems