diff --git a/lib/origami.rb b/lib/origami.rb
index <HASH>..<HASH> 100644
--- a/lib/origami.rb
+++ b/lib/origami.rb
@@ -19,6 +19,12 @@
 =end
 
 module Origami
+
+    #
+    # Common Exception class for Origami errors.
+    #
+    class Error < StandardError
+    end
   
     #
     # Global options for Origami.
diff --git a/lib/origami/object.rb b/lib/origami/object.rb
index <HASH>..<HASH> 100644
--- a/lib/origami/object.rb
+++ b/lib/origami/object.rb
@@ -81,12 +81,6 @@ module Origami
     end
 
     #
-    # Common Exception class for Origami errors.
-    #
-    class Error < StandardError
-    end
-
-    #
     # Provides an easier syntax for field access.
     # The object must have the defined the methods #[] and #[]=.
     #
object: moved Error class to top-level file