Inherit errors from StandardError instead of Exception.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
module PaginationExtension
|
||||
class PaginationError < Exception; end
|
||||
class PaginationError < StandardError; end
|
||||
|
||||
attr_accessor :current_page, :records_per_page, :paginator_count, :paginator_mode
|
||||
|
||||
|
||||
Reference in New Issue
Block a user