Files
exceptions
generic
MDAccessDeniedException.php
MDConfigCannotBeLoadedException.php
MDExpectedException.php
MDFileDoesNotExist.php
MDFileIsNotReadable.php
MDInaccessiblePropertyException.php
MDInputTooLongException.php
MDInvalidColorCode.php
MDInvalidCsv.php
MDInvalidEmail.php
MDInvalidEmptyInputException.php
MDInvalidUrl.php
MDOutputBufferNotStarted.php
MDParseException.php
MDRequiredConfigNotSet.php
MDWrongCsrfTokenException.php
MDgenericInvalidInputsException.php
MDhttpFailedException.php
MDmainEntityNotExistentException.php
MDpageParameterNotFromListException.php
page
updates
.gitattributes
LICENSE
MDErrorCategory.php
MDErrorReporter.php
README.md

20 lines
399 B
PHP

<?PHP
declare(strict_types = 1);
/**
* Exception to be thrown if parsing a CSV file is impossible (usually errors in
* trying to get table headings).
*/
final class MDInvalidCsv extends Exception {
/**
* Error message.
*
* @return string
*/
public function errorMessage() {
//error message
return 'Invalid input CSV: ' . $this->getMessage();
}
}