public function getUnsupportedSortErrorObject($genericTitle=null, $specificDetails=null) {
		$errorObject = new ErrorObject('Unsupported sort');
		$errorObject->appendTypeLink('https://jsonapi.org/profiles/ethanresnick/cursor-pagination/unsupported-sort');
		$errorObject->blameQueryParameter('sort');
		$errorObject->setHttpStatusCode(400);
		
		if ($genericTitle !== null) {
			$errorObject->setHumanExplanation($genericTitle, $specificDetails);
		}
		
		return $errorObject;
	}
public function getUnsupportedSortErrorObject($genericTitle=null, $specificDetails=null) {
		$errorObject = new ErrorObject('Unsupported sort');
		$errorObject->appendTypeLink('https://jsonapi.org/profiles/ethanresnick/cursor-pagination/unsupported-sort');
		$errorObject->blameQueryParameter('sort');
		$errorObject->setHttpStatusCode(400);
		
		if ($genericTitle !== null) {
			$errorObject->setHumanExplanation($genericTitle, $specificDetails);
		}
		
		return $errorObject;
	}
public function getUnsupportedSortErrorObject ( $ genericTitle = null , $ specificDetails = null ) { $ errorObject = new ErrorObject ( 'Unsupported sort' ) ; $ errorObject -> appendTypeLink ( 'https://jsonapi.org/profiles/ethanresnick/cursor-pagination/unsupported-sort' ) ; $ errorObject -> blameQueryParameter ( 'sort' ) ; $ errorObject -> setHttpStatusCode ( 400 ) ; if ( $ genericTitle !== null ) { $ errorObject -> setHumanExplanation ( $ genericTitle , $ specificDetails ) ; } return $ errorObject ; }
get an ErrorObject for when the requested sorting cannot efficiently be paginated

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

@param  string $genericTitle    optional
@param  string $specificDetails optional
@return ErrorObject
get an ErrorObject for when the requested sorting cannot efficiently be paginated