XdrError
in package
Table of Contents
Properties
- $code : XdrErrorCode
- $msg : string
Methods
- __construct() : mixed
- decode() : XdrError
- encode() : string
- fromBase64Xdr() : static
- getCode() : XdrErrorCode
- getMsg() : string
- setCode() : void
- setMsg() : void
- toBase64Xdr() : string
Properties
$code
public
XdrErrorCode
$code
$msg
public
string
$msg
Methods
__construct()
public
__construct(XdrErrorCode $code, string $msg) : mixed
Parameters
- $code : XdrErrorCode
- $msg : string
decode()
public
static decode(XdrBuffer $xdr) : XdrError
Parameters
- $xdr : XdrBuffer
Return values
XdrErrorencode()
public
encode() : string
Return values
stringfromBase64Xdr()
public
static fromBase64Xdr(string $xdr) : static
Parameters
- $xdr : string
Return values
staticgetCode()
public
getCode() : XdrErrorCode
Return values
XdrErrorCodegetMsg()
public
getMsg() : string
Return values
stringsetCode()
public
setCode(XdrErrorCode $code) : void
Parameters
- $code : XdrErrorCode
setMsg()
public
setMsg(string $msg) : void
Parameters
- $msg : string
toBase64Xdr()
public
toBase64Xdr() : string