Kyle Rames
2013-04-11 14:20:44 UTC
I am currently making a change to the NotFound exception in the Rackspace
provider and I am a little confused about Fog's exception hierarchy.
There is a service specific (ie Fog::Storage::Rackspace::NotFound)
NotFound exception being created here:
https://github.com/fog/fog/blob/master/lib/fog/core/service.rb#L38-L39
And then it appears that provider specific
(Fog::Rackspace::Errors::NotFound) NotFound exception being created for a
couple providers:
https://github.com/fog/fog/blob/master/lib/fog/rackspace.rb#L12-L57
https://github.com/fog/fog/blob/master/lib/fog/hp.rb#L13-L56
I have a feeling that the second type is incorrect.
Thoughts?
Kyle
provider and I am a little confused about Fog's exception hierarchy.
There is a service specific (ie Fog::Storage::Rackspace::NotFound)
NotFound exception being created here:
https://github.com/fog/fog/blob/master/lib/fog/core/service.rb#L38-L39
And then it appears that provider specific
(Fog::Rackspace::Errors::NotFound) NotFound exception being created for a
couple providers:
https://github.com/fog/fog/blob/master/lib/fog/rackspace.rb#L12-L57
https://github.com/fog/fog/blob/master/lib/fog/hp.rb#L13-L56
I have a feeling that the second type is incorrect.
Thoughts?
Kyle
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.