extends |
AbstractSyncException |
---|
Methods | ||
---|---|---|
public
|
__construct<T is SyncEntityInterface>(
string $message,
SyncProviderInterface $provider,
class-string<T> $entityType,
T|int|string|null $entityOrId,
?Throwable $previous = null,
)
|
# |
public
|
getProvider(): SyncProviderInterface
|
# |
public
|
getEntityType(): string
|
# |
public
|
getEntityId(): int|string|null
|
# |
public
|
getEntity(): ?SyncEntityInterface
|
# |
public
|
getMetadata(): array
|
# |
Methods inherited from Salient\Sync\Exception\AbstractSyncException |
---|
getProviderName() |
Methods inherited from Exception |
---|
__wakeup(), getMessage(), getCode(), getFile(), getLine(), getTrace(), getPrevious(), getTraceAsString(), __toString() |
Methods used from Salient\Core\Concern\ExceptionTrait |
---|
withExitStatus(), getExitStatus(), __toString() |
Properties | |||
---|---|---|---|
protected
|
SyncProviderInterface
|
$Provider
|
# |
protected
|
class-string<SyncEntityInterface>
|
$EntityType
|
# |
protected
|
int|string|null
|
$EntityId
|
# |
protected
|
?SyncEntityInterface
|
$Entity
|
# |
Properties used from Salient\Core\Concern\ExceptionTrait |
---|
$ExitStatus |