lib/ratis/errors.rb in ratis-2.5.2.7 vs lib/ratis/errors.rb in ratis-2.5.2.8
- old
+ new
@@ -10,15 +10,15 @@
code = fault[:faultcode].scan(/\d+/).first
self.fault_code = code.to_i if code
self.fault_string = fault[:faultstring]
end
- def self.version_mismatch(method, version)
- error = Errors.new
- error.fault_string = "Unimplemented SOAP method #{ method } #{ version }"
- error
- end
+ # def self.version_mismatch(method, version)
+ # error = Errors.new
+ # error.fault_string = "Unimplemented SOAP method #{ method } #{ version }"
+ # error
+ # end
def to_s
fault_string
end
@@ -60,10 +60,10 @@
end
end
module Errors
- class ConfigError < Error; end
+ class ConfigError < StandardError; end
class SoapError < Error; end
end
end