yxorP Documentation

ExpectedError
in package

Table of Contents

$code  : int|null
$codeName  : string|null
$codeNameMap  : array<string|int, mixed>
$excludedLabels  : array<string|int, mixed>
$expectedResult  : ExpectedResult|null
$includedLabels  : array<string|int, mixed>
$isClientError  : bool|null
$isError  : bool
$messageContains  : string|null
__construct()  : mixed
assert()  : void
Assert the outcome of an operation.
assertCodeName()  : void
assertIsClientError()  : void

Properties

$excludedLabels

private array<string|int, mixed> $excludedLabels = []

$includedLabels

private array<string|int, mixed> $includedLabels = []

Methods

__construct()

public __construct(stdClass|null $o, EntityMap $entityMap) : mixed
Parameters
$o : stdClass|null
$entityMap : EntityMap
Return values
mixed

assert()

Assert the outcome of an operation.

public assert([Throwable|null $e = null ]) : void
Parameters
$e : Throwable|null = null

Exception (if any) from executing an operation

Return values
void

assertCodeName()

private assertCodeName(ServerException $e) : void
Parameters
$e : ServerException
Return values
void

assertIsClientError()

private assertIsClientError(Throwable $e) : void
Parameters
$e : Throwable
Return values
void

Search results