public function getErrorMessage(): string
    {
        $header = $this->headers->get('grpc-message');
        return $header ? $header->getFirstValue() : substr($this->body, 0, 255);
    }
public function getErrorMessage(): string
    {
        $header = $this->headers->get('grpc-message');
        return $header ? $header->getFirstValue() : substr($this->body, 0, 255);
    }
public function getErrorMessage ( ) : string { $ header = $ this -> headers -> get ( 'grpc-message' ) ; return $ header ? $ header -> getFirstValue ( ) : substr ( $ this -> body , 0 , 255 ) ; }
Get the gRPC error message for this failed request

@return string
Get the gRPC error message for this failed request