public function getMaxPageSizeExceededErrorObject($maxSize, $genericTitle=null, $specificDetails=null) {
		$errorObject = new ErrorObject('Max page size exceeded');
		$errorObject->appendTypeLink('https://jsonapi.org/profiles/ethanresnick/cursor-pagination/max-size-exceeded');
		$errorObject->blameQueryParameter($this->getKeyword('page').'[size]');
		$errorObject->setHttpStatusCode(400);
		$errorObject->addMeta($this->getKeyword('page'), $value=['maxSize' => $maxSize]);
		
		if ($genericTitle !== null) {
			$errorObject->setHumanExplanation($genericTitle, $specificDetails);
		}
		
		return $errorObject;
	}
public function getMaxPageSizeExceededErrorObject($maxSize, $genericTitle=null, $specificDetails=null) {
		$errorObject = new ErrorObject('Max page size exceeded');
		$errorObject->appendTypeLink('https://jsonapi.org/profiles/ethanresnick/cursor-pagination/max-size-exceeded');
		$errorObject->blameQueryParameter($this->getKeyword('page').'[size]');
		$errorObject->setHttpStatusCode(400);
		$errorObject->addMeta($this->getKeyword('page'), $value=['maxSize' => $maxSize]);
		
		if ($genericTitle !== null) {
			$errorObject->setHumanExplanation($genericTitle, $specificDetails);
		}
		
		return $errorObject;
	}
public function getMaxPageSizeExceededErrorObject ( $ maxSize , $ genericTitle = null , $ specificDetails = null ) { $ errorObject = new ErrorObject ( 'Max page size exceeded' ) ; $ errorObject -> appendTypeLink ( 'https://jsonapi.org/profiles/ethanresnick/cursor-pagination/max-size-exceeded' ) ; $ errorObject -> blameQueryParameter ( $ this -> getKeyword ( 'page' ) . '[size]' ) ; $ errorObject -> setHttpStatusCode ( 400 ) ; $ errorObject -> addMeta ( $ this -> getKeyword ( 'page' ) , $ value = [ 'maxSize' => $ maxSize ] ) ; if ( $ genericTitle !== null ) { $ errorObject -> setHumanExplanation ( $ genericTitle , $ specificDetails ) ; } return $ errorObject ; }
get an ErrorObject for when the requested page size exceeds the server-defined max page size

ends up at:
- /errors/0/code
- /errors/0/status
- /errors/0/source/parameter
- /errors/0/links/type/0
- /errors/0/meta/page/maxSize
- /errors/0/title             optional
- /errors/0/detail            optional

@param  int    $maxSize
@param  string $genericTitle    optional, e.g. 'Page size requested is too large.'
@param  string $specificDetails optional, e.g. 'You requested a size of 200, but 100 is the maximum.'
@return ErrorObject
get an ErrorObject for when the requested page size exceeds the server - defined max page size