EllipseSynergie\ApiResponse\AbstractResponse::errorInternalError PHP Метод

errorInternalError() публичный Метод

Generates a response with a 500 HTTP header and a given message.
public errorInternalError ( string $message = 'Internal Error', array $headers = [] ) : mixed
$message string
$headers array
Результат mixed
    public function errorInternalError($message = 'Internal Error', array $headers = [])
    {
        return $this->setStatusCode(500)->withError($message, static::CODE_INTERNAL_ERROR, $headers);
    }