Zend\Json\Server\Error::setCode
Set error code.
If the error code is 0, it will be set to -32000 (ERROR_OTHER).
Signature
public function setCode(int
$code )
Parameters
$code
— int
Returns
- Error
If the error code is 0, it will be set to -32000 (ERROR_OTHER).
public function setCode(int
$code )
$code
—
int