Sha256: 999a6ce14d395ac5e7837334e9f469ce52513485ec32742e640dc2ea77cd06da
Contents?: true
Size: 772 Bytes
Versions: 9
Compression:
Stored size: 772 Bytes
Contents
module Zermelo class ZermeloError < RuntimeError end module Records module Errors class RecordNotFound < ::Zermelo::ZermeloError attr_reader :klass, :id def initialize(k, i) @klass = k @id = i end end class RecordsNotFound < ::Zermelo::ZermeloError attr_reader :klass, :ids def initialize(k, i) @klass = k @ids = i end end class RecordInvalid < ::Zermelo::ZermeloError attr_reader :record def initialize(r) @record = r end end class RecordNotSaved < ::Zermelo::ZermeloError attr_reader :record def initialize(r) @record = r end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems