OrderReceiveException
extends RuntimeException
in package
Table of Contents
- $errCode : string
- Name of the affected Eloquent model.
- $ids : int|array<string|int, mixed>
- The affected model IDs.
- $type : string
- Name of the affected Eloquent model.
- getErrCode() : int|array<string|int, mixed>
- Get the affected request error code.
- getIds() : int|array<string|int, mixed>
- Get the affected request object IDs.
- getType() : string
- Get the affected object.
- setError() : $this
- Set the affected Eloquent model and instance ids.
Properties
$errCode
Name of the affected Eloquent model.
protected
string
$errCode
$ids
The affected model IDs.
protected
int|array<string|int, mixed>
$ids
$type
Name of the affected Eloquent model.
protected
string
$type
Methods
getErrCode()
Get the affected request error code.
public
getErrCode() : int|array<string|int, mixed>
Return values
int|array<string|int, mixed> —getIds()
Get the affected request object IDs.
public
getIds() : int|array<string|int, mixed>
Return values
int|array<string|int, mixed> —getType()
Get the affected object.
public
getType() : string
Return values
string —setError()
Set the affected Eloquent model and instance ids.
public
setError(string $type[, int|array<string|int, mixed> $ids = [] ][, mixed $message = '' ][, mixed $errCode = '' ]) : $this
Parameters
- $type : string
- $ids : int|array<string|int, mixed> = []
- $message : mixed = ''
- $errCode : mixed = ''