ServiceClientException
extends RuntimeException
Table of Contents
Properties
-
$status
: Status
Methods
-
__construct()
: mixed
-
getDetails()
: RepeatedField
-
getFailure()
: object|null
-
getStatus()
: Status
$status
private
Status
$status
__construct()
public
__construct(stdClass $status[, Throwable|null $previous = null ]) : mixed
Parameters
-
$status
: stdClass
-
-
$previous
: Throwable|null
= null
-
-
throws
-
Exception
getDetails()
public
getDetails() : RepeatedField
Return values
RepeatedField
getFailure()
public
getFailure(string $class) : object|null
Parameters
-
$class
: string
-
-
link
-
https://dev.to/khepin/grpc-advanced-error-handling-from-go-to-php-1omc
-
throws
-
Exception
Return values
object|null
getStatus()
public
getStatus() : Status