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
MDErrorReporter.php
README.md
24 lines
532 B
PHP
24 lines
532 B
PHP
<?PHP
|
|
/**
|
|
* This file contains an exception class for trying to enter non-existent files.
|
|
*
|
|
* @author Joshua Ramon Enslin <joshua@museum-digital.de>
|
|
*/
|
|
declare(strict_types = 1);
|
|
|
|
/**
|
|
* Custom exception class for non-existing files.
|
|
*/
|
|
final class MDOutputBufferNotStarted extends Exception {
|
|
/**
|
|
* Error message.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function errorMessage() {
|
|
//error message
|
|
return 'Output buffer has not yet been started, is to be used: ' . $this->getMessage();
|
|
|
|
}
|
|
}
|