Sha256: 3d66f4c7244871a963b511b5ef02e876866e32ac51d384305272dfb41da389a1
Contents?: true
Size: 803 Bytes
Versions: 9
Compression:
Stored size: 803 Bytes
Contents
module StateMate module Error class StateMateError < StandardError; end class ExecutionError < StateMateError; end class WriteError < ExecutionError; end # raised when an erros is encountered running a sync method on an adapter #(set, unset, array_contains, array_missing) class ValueSyncError < ExecutionError; end class TypeError < ::TypeError attr_accessor :value def initialize value, msg @value = value super "#{ msg }, found #{ value.inspect }" end end class AdapterNotFoundError < StateMateError; end # raised when the current structre of a value prevents the desired sync # operation with the given options. class StructureConflictError < StateMateError; end end # Error end # StateMate
Version data entries
9 entries across 9 versions & 1 rubygems