Exception: Served::Serializers::SerializationError
- Inherits:
-
Error
- Object
- StandardError
- Resource::Base::ServiceError
- Error
- Served::Serializers::SerializationError
- Defined in:
- lib/served/serializers/serialization_error.rb
Instance Method Summary collapse
-
#initialize(original_exception) ⇒ SerializationError
constructor
A new instance of SerializationError.
Constructor Details
#initialize(original_exception) ⇒ SerializationError
Returns a new instance of SerializationError.
4 5 6 |
# File 'lib/served/serializers/serialization_error.rb', line 4 def initialize(original_exception) super("Failed to serialize object with error: '#{original_exception.}'") end |