Exception: ViewModel::DeserializationError::Collection

Inherits:
AbstractErrorCollection show all
Defined in:
lib/view_model/deserialization_error.rb

Overview

A collection of DeserializationErrors

Instance Attribute Summary

Attributes inherited from AbstractErrorCollection

#causes

Instance Method Summary collapse

Methods inherited from AbstractErrorCollection

#aggregation?, for_errors, #initialize, #status

Methods inherited from AbstractError

#aggregation?, #causes, #code, #exception, #initialize, #meta, #status, #title, #to_s, #view

Constructor Details

This class inherits a constructor from ViewModel::AbstractErrorCollection

Instance Method Details

#detailObject



27
28
29
# File 'lib/view_model/deserialization_error.rb', line 27

def detail
  "Error(s) occurred during deserialization: #{cause_details}"
end