lib/global_session/session/v1.rb in global_session-3.0.2 vs lib/global_session/session/v1.rb in global_session-3.0.3
- old
+ new
@@ -206,10 +206,10 @@
when Array
output = input.collect { |x| canonicalize(x) }
when Numeric, String, NilClass
output = input
else
- raise UnserializableType, "Objects of type #{input.class.name} cannot be serialized in the global session"
+ raise GlobalSession::UnserializableType, "Objects of type #{input.class.name} cannot be serialized in the global session"
end
return output
end