lib/valvat/error.rb in valvat-1.0.0 vs lib/valvat/error.rb in valvat-1.0.1

- old
+ new

@@ -1,10 +1,10 @@ class Valvat Error = Class.new(RuntimeError) class ViesError < Error - def initialize(faultstring='UNKOWN') + def initialize(faultstring='UNKNOWN') @faultstring = faultstring end def to_s "The VIES web service returned the error '#{@faultstring}'." @@ -23,6 +23,6 @@ InvalidRequester = Class.new(ViesError) BlockedError = Class.new(ViesError) RateLimitError = Class.new(ViesError) UnknownViesError = Class.new(ViesError) -end \ No newline at end of file +end