lib/neat_pages/errors.rb in neat-pages-0.1.7 vs lib/neat_pages/errors.rb in neat-pages-1.0.0
- old
+ new
@@ -1,4 +1,13 @@
module NeatPages
+ #*************************************************************************************
+ # Error that will be raised if the page called is out of bound.
+ #*************************************************************************************
class OutOfBound < StandardError
+ end
+
+ #*************************************************************************************
+ # Error that will be raised if the pagination isn't initialized
+ #*************************************************************************************
+ class Uninitalized < StandardError
end
end