class MarkMapper::DocumentNotValid

raised when document not valid and using !

Attributes

document[R]

Public Class Methods

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