final class InvalidDataProviderException extends Exception (View source)

internal  This class is not covered by the backward compatibility promise for PHPUnit
 

Properties

protected list<array{file: string, line: int, function: string}> $serializableTrace from  Exception

Methods

__construct(string $message = '', int|string $code = 0, Throwable|null $previous = null)

No description

array
__serialize()

No description

array
getSerializableTrace()

Returns the serializable trace (without 'args').

forException(Throwable $e, string $providerLabel)

No description

string|null
getProviderLabel()

No description

Details

__construct(string $message = '', int|string $code = 0, Throwable|null $previous = null)

No description

Parameters

string $message
int|string $code
Throwable|null $previous

array __serialize()

No description

Return Value

array

array getSerializableTrace()

Returns the serializable trace (without 'args').

Return Value

array

static InvalidDataProviderException forException(Throwable $e, string $providerLabel)

No description

Parameters

Throwable $e
string $providerLabel

Return Value

InvalidDataProviderException

string|null getProviderLabel()

No description

Return Value

string|null