Exception: Xommelier::NoSchemaError

Inherits:
Error
  • Object
show all
Defined in:
lib/xommelier.rb

Overview

This error raised when there are no schema provided but Xml::Element#valid? called.

Instance Method Summary collapse

Constructor Details

#initialize(object) ⇒ NoSchemaError

Returns a new instance of NoSchemaError.



28
29
30
# File 'lib/xommelier.rb', line 28

def initialize(object)
  super("Cannot validate #{object} because no schema provided for validation.")
end