Sha256: b2792842cd6d0dea70aa216a15b7b5e1e3f8a3982ba429b068591971e77991e8
Contents?: true
Size: 658 Bytes
Versions: 3
Compression:
Stored size: 658 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 NotImplementedError < Exception end class IdNotNumber < Exception end class Error < Exception end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
active_mocker-1.7.beta3 | lib/active_mocker/mock/exceptions.rb |
active_mocker-1.7.beta2 | lib/active_mocker/mock/exceptions.rb |
active_mocker-1.7.beta1 | lib/active_mocker/mock/exceptions.rb |