GovtNZ\SilverStripe\Api\Control\ApiController::setError
Populates the error array and changes the controller status.
Signature
public function setError(
$params )
Parameters
$params
—
public function setError(
$params )
$params
—