Sha256: 173e0977c4dbb4874bc6f22573029988c52546b04beeec6fc613803fae52c2d3
Contents?: true
Size: 682 Bytes
Versions: 22
Compression:
Stored size: 682 Bytes
Contents
# TODO: Create more specific errors # module ActiveRemote # = Active Remote Errors # # Generic Active Remote exception class. class ActiveRemoteError < StandardError end # Raised by ActiveRemove::Base.save when the remote record is readonly. class ReadOnlyRemoteRecord < ActiveRemoteError end # Raised by ActiveRemove::Base.find when remote record is not found when # searching with the given arguments. class RemoteRecordNotFound < ActiveRemoteError end # Raised by ActiveRemove::Base.save! and ActiveRemote::Base.create! methods # when remote record cannot be saved because it is invalid. class RemoteRecordNotSaved < ActiveRemoteError end end
Version data entries
22 entries across 22 versions & 1 rubygems