Skip to content

Commit

Permalink
move errors to its own file
Browse files Browse the repository at this point in the history
  • Loading branch information
geemus committed Jun 11, 2010
1 parent afd711c commit 5ed7292
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
15 changes: 1 addition & 14 deletions lib/fog.rb
Expand Up @@ -22,24 +22,11 @@
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'
Expand Down
13 changes: 13 additions & 0 deletions 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

0 comments on commit 5ed7292

Please sign in to comment.