public function handlerTerse(\Exception $exception)
    {
        if (!headers_sent()) {
            header('HTTP/1.1 500 Internal Server Error', true, 500);
            header('Content-type: text/plain; charset=UTF-8');
        }
        echo sprintf('Bad Moss: %s ( %s at line: %u )', $exception->getMessage(), $exception->getFile(), $exception->getLine());
    }
public function handlerTerse(\Exception $exception)
    {
        if (!headers_sent()) {
            header('HTTP/1.1 500 Internal Server Error', true, 500);
            header('Content-type: text/plain; charset=UTF-8');
        }
        echo sprintf('Bad Moss: %s ( %s at line: %u )', $exception->getMessage(), $exception->getFile(), $exception->getLine());
    }
public function handlerTerse ( \ Exception $ exception ) { if ( ! headers_sent ( ) ) { header ( 'HTTP/1.1 500 Internal Server Error' , true , 500 ) ; header ( 'Content-type: text/plain; charset=UTF-8' ) ; } echo sprintf ( 'Bad Moss: %s ( %s at line: %u )' , $ exception -> getMessage ( ) , $ exception -> getFile ( ) , $ exception -> getLine ( ) ) ; }
Terse exception handler
Sends only simplified exception message in plain text

@param \Exception $exception
Terse exception handler Sends only simplified exception message in plain text