class Dynamoid::Errors::DocumentNotValid

DocumentNotValid is raised when the document fails validation.

Public Class Methods

new(document) click to toggle source
Calls superclass method
# File lib/dynamoid/errors.rb, line 21
def initialize(document)
  super("Validation failed: #{document.errors.full_messages.join(", ")}")
end