1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

move errors to its own file

This commit is contained in:
geemus 2010-06-10 19:04:06 -07:00
parent afd711cb08
commit 5ed729246a
2 changed files with 14 additions and 14 deletions

View file

@ -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'

13
lib/fog/errors.rb Normal file
View file

@ -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