Exception: Ant::Server::Nanoservice::Datasource::Exceptions::ValidationErrors

Inherits:
Exceptions::AntFail show all
Defined in:
lib/ant/server/nanoservice/datasource/exceptions.rb

Instance Attribute Summary

Attributes inherited from Exceptions::AntBaseException

#code, #data, #message

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ ValidationErrors

Returns a new instance of ValidationErrors.



15
16
17
18
# File 'lib/ant/server/nanoservice/datasource/exceptions.rb', line 15

def initialize(data)
  @id = id
  super('Error while validating object', 'ValidationErrors', data)
end