diff --git a/lib/fog.rb b/lib/fog.rb index fd7c9514f..b03c4c86b 100644 --- a/lib/fog.rb +++ b/lib/fog.rb @@ -22,24 +22,11 @@ require 'fog/attributes' require 'fog/collection' require 'fog/connection' require 'fog/deprecation' +require 'fog/errors' require 'fog/model' require 'fog/parser' require 'fog/ssh' -module Fog - module Errors - - class Error < StandardError - attr_accessor :verbose - end - - class MockNotImplemented < Fog::Errors::Error; end - - class NotFound < Fog::Errors::Error; end - - end -end - require 'fog/aws' require 'fog/bluebox' require 'fog/local' diff --git a/lib/fog/errors.rb b/lib/fog/errors.rb new file mode 100644 index 000000000..c94663a70 --- /dev/null +++ b/lib/fog/errors.rb @@ -0,0 +1,13 @@ +module Fog + module Errors + + class Error < StandardError + attr_accessor :verbose + end + + class MockNotImplemented < Fog::Errors::Error; end + + class NotFound < Fog::Errors::Error; end + + end +end \ No newline at end of file