Documentation

RpcError extends Message
in package

Generated from protobuf message <code>livekit.RpcError</code>

Table of Contents

Properties

$code  : mixed
Generated from protobuf field <code>uint32 code = 1;</code>
$data  : mixed
Generated from protobuf field <code>string data = 3;</code>
$message  : mixed
Generated from protobuf field <code>string message = 2;</code>

Methods

__construct()  : mixed
Constructor.
getCode()  : int
Generated from protobuf field <code>uint32 code = 1;</code>
getData()  : string
Generated from protobuf field <code>string data = 3;</code>
getMessage()  : string
Generated from protobuf field <code>string message = 2;</code>
setCode()  : $this
Generated from protobuf field <code>uint32 code = 1;</code>
setData()  : $this
Generated from protobuf field <code>string data = 3;</code>
setMessage()  : $this
Generated from protobuf field <code>string message = 2;</code>

Properties

$code

Generated from protobuf field <code>uint32 code = 1;</code>

protected mixed $code = 0

$data

Generated from protobuf field <code>string data = 3;</code>

protected mixed $data = ''

$message

Generated from protobuf field <code>string message = 2;</code>

protected mixed $message = ''

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
$data : array<string|int, mixed> = null

{ Optional. Data for populating the Message object.

@type int $code
@type string $message
@type string $data

}

getCode()

Generated from protobuf field <code>uint32 code = 1;</code>

public getCode() : int
Return values
int

getData()

Generated from protobuf field <code>string data = 3;</code>

public getData() : string
Return values
string

getMessage()

Generated from protobuf field <code>string message = 2;</code>

public getMessage() : string
Return values
string

setCode()

Generated from protobuf field <code>uint32 code = 1;</code>

public setCode(int $var) : $this
Parameters
$var : int
Return values
$this

setData()

Generated from protobuf field <code>string data = 3;</code>

public setData(string $var) : $this
Parameters
$var : string
Return values
$this

setMessage()

Generated from protobuf field <code>string message = 2;</code>

public setMessage(string $var) : $this
Parameters
$var : string
Return values
$this

        
On this page

Search results