Add MDTimelineNotAvailable

This commit is contained in:
2025-12-18 17:18:19 +01:00
parent 4ec6bc49ea
commit a5c75d54f4

View File

@@ -0,0 +1,18 @@
<?PHP
declare(strict_types = 1);
/**
* Exception thrown in case a user attempts to generate timeline page when it should not be available.
*/
final class MDTimelineNotAvailable extends Exception {
/**
* Error message.
*
* @return string
*/
public function errorMessage() {
//error message
return 'Timeline cannot be generated for this query.';
}
}