class InvalidEncodedDataException extends Exception implements EncodingExceptionInterface
The supplied data is not correctly encoded.
Methods
__construct(string $encoding, string|null $data = null, Exception $cause = null)
Construct a new invalid encoded data exception. |
||
string |
encoding()
Get the name of the expected encoding. |
|
string|null |
data()
Get the invalid data. |
Details
at line 29
public
__construct(string $encoding, string|null $data = null, Exception $cause = null)
Construct a new invalid encoded data exception.
at line 52
public string
encoding()
Get the name of the expected encoding.
at line 62
public string|null
data()
Get the invalid data.