lib/imw/utils/error.rb in imw-0.2.7 vs lib/imw/utils/error.rb in imw-0.2.8
- old
+ new
@@ -23,9 +23,12 @@
NetworkError = Class.new(Error)
# Error communicating with a remote entity.
ArgumentError = Class.new(Error)
+ # Error in defining or matching a schema.
+ SchemaError = Class.new(Error)
+
# An error meant to be used when a system call goes awry. It will
# report exit status and the process id of the offending call.
class SystemCallError < IMW::Error
attr_reader :status, :message