Sha256: 2f2485e093bf4e6805088b690e340d64b112cd995ed5e384cef9c946d65114b7
Contents?: true
Size: 344 Bytes
Versions: 3
Compression:
Stored size: 344 Bytes
Contents
class RestModel class SerializationError < StandardError; end class TranslationError < StandardError; end class SourceError < StandardError attr_reader :errors def initialize(errors) @errors = errors end def message @errors end def self.exception(errors = {}) new(errors) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rest_model-0.3.1 | lib/rest_model/errors.rb |
rest_model-0.3.0 | lib/rest_model/errors.rb |
rest_model-0.2.3 | lib/rest_model/errors.rb |