mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
bb266ea3ff
Fog was not handling at all the error returned by docker-api. This commit fixes that and raises an AuthenticationError that can be caught by Fog clients. There was a bug in the errors code for container_action that this PR fixes too.
9 lines
194 B
Ruby
9 lines
194 B
Ruby
module Fog
|
|
module Errors
|
|
module Fogdocker
|
|
class ServiceError < Fog::Errors::Error; end
|
|
class AuthenticationError < Fog::Errors::Fogdocker::ServiceError; end
|
|
end
|
|
end
|
|
end
|
|
|