Lizmap Web Client 3.11.0

datatablesCtrl extends jController
in package

Table of Contents

Methods

index()  : mixed
setErrorResponse()  : jResponseJson
Sets the error in the provided response object based on the given HTTP error code.

Methods

setErrorResponse()

Sets the error in the provided response object based on the given HTTP error code.

protected setErrorResponse(jResponseJson $rep, int $code, string $errorMessage) : jResponseJson
Parameters
$rep : jResponseJson
  • the response object to which the error details will be assigned
$code : int
  • the HTTP error code
$errorMessage : string
  • the custom error message
Return values
jResponseJson

returns the updated response object containing the error details


        
On this page

Search results