XdrErrorCode
in package
Table of Contents
Constants
- ERR_AUTH : mixed = 3
- ERR_CONF : mixed = 2
- ERR_DATA : mixed = 1
- ERR_LOAD : mixed = 4
- ERR_MISC : mixed = 0
Properties
- $value : int
Methods
- __construct() : mixed
- decode() : XdrErrorCode
- encode() : string
- ERR_AUTH() : XdrErrorCode
- ERR_CONF() : XdrErrorCode
- ERR_DATA() : XdrErrorCode
- ERR_LOAD() : XdrErrorCode
- ERR_MISC() : XdrErrorCode
- fromBase64Xdr() : static
- fromJson() : static
- fromJsonValue() : static
- getValue() : int
- toBase64Xdr() : string
- toJson() : string
- toJsonValue() : string
Constants
ERR_AUTH
public
mixed
ERR_AUTH
= 3
ERR_CONF
public
mixed
ERR_CONF
= 2
ERR_DATA
public
mixed
ERR_DATA
= 1
ERR_LOAD
public
mixed
ERR_LOAD
= 4
ERR_MISC
public
mixed
ERR_MISC
= 0
Properties
$value
public
int
$value
Methods
__construct()
public
__construct(int $value) : mixed
Parameters
- $value : int
decode()
public
static decode(XdrBuffer $xdr) : XdrErrorCode
Parameters
- $xdr : XdrBuffer
Return values
XdrErrorCodeencode()
public
encode() : string
Return values
stringERR_AUTH()
public
static ERR_AUTH() : XdrErrorCode
Return values
XdrErrorCodeERR_CONF()
public
static ERR_CONF() : XdrErrorCode
Return values
XdrErrorCodeERR_DATA()
public
static ERR_DATA() : XdrErrorCode
Return values
XdrErrorCodeERR_LOAD()
public
static ERR_LOAD() : XdrErrorCode
Return values
XdrErrorCodeERR_MISC()
public
static ERR_MISC() : XdrErrorCode
Return values
XdrErrorCodefromBase64Xdr()
public
static fromBase64Xdr(string $xdr) : static
Parameters
- $xdr : string
Return values
staticfromJson()
public
static fromJson(string $json) : static
Parameters
- $json : string
Tags
Return values
staticfromJsonValue()
public
static fromJsonValue(mixed $value) : static
Parameters
- $value : mixed
Return values
staticgetValue()
public
getValue() : int
Return values
inttoBase64Xdr()
public
toBase64Xdr() : string
Return values
stringtoJson()
public
toJson() : string
Tags
Return values
stringtoJsonValue()
public
toJsonValue() : string