public function cliRegister() : Closure
  {
    return function($exception, $inspector, $run) {
      Output::error($exception);
      die($exception . PHP_EOL);
      exit;
    };
  }
public function cliRegister() : Closure
  {
    return function($exception, $inspector, $run) {
      Output::error($exception);
      die($exception . PHP_EOL);
      exit;
    };
  }
public function cliRegister ( ) : Closure { return function ( $ exception , $ inspector , $ run ) { Output :: error ( $ exception ) ; die ( $ exception . PHP_EOL ) ; exit ; } ; }
Register cli errors

@return void
Register cli errors