# Functions
NewPaginator returns a new Paginator instance with the provided parameters set and returns an error if it fails.
# Variables
ErrCalculateLastPage is used when the pagination last page could not be calculated.
ErrCalculateOffset is used when the pagination offset could not be calculated.