2020-08-05 16:18:39 +02:00
|
|
|
<?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.
|
|
|
|
*/
|
2020-08-29 12:57:45 +02:00
|
|
|
final class MDOutputBufferNotStarted extends Exception {
|
2020-08-05 16:18:39 +02:00
|
|
|
/**
|
|
|
|
* Error message.
|
|
|
|
*
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function errorMessage() {
|
|
|
|
//error message
|
2022-09-15 21:06:32 +02:00
|
|
|
return 'Output buffer has not yet been started, is to be used: ' . $this->getMessage();
|
2020-08-05 16:18:39 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|