Documentation

IndexerException extends Exception
in package

Exception used by the Indexer class, giving access to resources which were commited when an error occured.

Tags
author

zozlak

Table of Contents

Constants

ERROR_DURING_IMPORT  = 1

Properties

$resources  : array<string|int, RepoResource>
A collection of already processed resources

Methods

__construct()  : mixed
Creates the exception
getCommitedResources()  : array<string|int, RepoResource>
Returns the collection of resources which were already commited when an error occured.

Constants

Properties

Methods

__construct()

Creates the exception

public __construct([string $message = "" ][, int $code = 0 ][, Throwable $previous = null ][, array<string|int, RepoResource$resources = [] ]) : mixed
Parameters
$message : string = ""

exception message

$code : int = 0

exception code

$previous : Throwable = null

original exception

$resources : array<string|int, RepoResource> = []

collection of already commited resources

getCommitedResources()

Returns the collection of resources which were already commited when an error occured.

public getCommitedResources() : array<string|int, RepoResource>
Return values
array<string|int, RepoResource>

        
On this page

Search results