aboutsummaryrefslogtreecommitdiffstats
path: root/core/namespace/ExceptionHandler.php
blob: d64d74cd6c9914b0d7b9e7d88ab679274a866188 (plain)
1
2
3
4
5
6
7
8
<?php
abstract class ExceptionHandler extends Exception {
	public function defaultHandler($code = 503) {
		http_response_code(503);
		exit(parent::getMessage());
	}
}
?>