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
intgetData()
Generated from protobuf field <code>string data = 3;</code>
public
getData() : string
Return values
stringgetMessage()
Generated from protobuf field <code>string message = 2;</code>
public
getMessage() : string
Return values
stringsetCode()
Generated from protobuf field <code>uint32 code = 1;</code>
public
setCode(int $var) : $this
Parameters
- $var : int
Return values
$thissetData()
Generated from protobuf field <code>string data = 3;</code>
public
setData(string $var) : $this
Parameters
- $var : string
Return values
$thissetMessage()
Generated from protobuf field <code>string message = 2;</code>
public
setMessage(string $var) : $this
Parameters
- $var : string